I use MyModbus plugin to read data from a Combox and I want to process these data with a Python script.
According to the doc, I should access them with the name, e.g. #[Installation_Gateway_Solar][Combox][Name]#
My problem is how to get this value in the python script as # is used to comment code in Python
I tried:
value = (#[Installation_Gateway_Solar][Combox][Name]#)
as well as :
value = (« # »[Installation_Gateway_Solar][Combox][Name]« # »)
but both fail
What is the right way to read JEEDOM values in a python script?
Thanks a lot
Vous semblez être en France, sur un forum Français : pourquoi vous exprimez vous en Anglais ?
Ce que vous souhaitez faire ne semble pas possible, du moins, pas de cette façon là. Les #[objet][équipement][commande]# sont des commandes internes de Jeedom.
Mon problème est comment passer ce paramètre #[MAISON][CUISINE][TEMPERATURE]# (dans mon cas: #[Installation_Gateway_Solar][Combox][Name]#) à mon script Python, le caractère # étant utiliser pour les commentaires: value = (#[Installation_Gateway_Solar][Combox][Name]#)
ne fonctionne pas.
C’est surement une question basique (JEEDOM ou Python) mais que je n’arrive pas à résoudre.
Je vous remercie pour votre aide