Me again.
I tried to modify the level with a json. Though there is no error message, no change of the selector switch.
This switch can only be changed by the python plugin. Is it normal?
Antoine
Search found 45 matches
- Tuesday 05 November 2019 21:03
- Forum: Python
- Topic: Selector switch
- Replies: 2
- Views: 1106
- Monday 04 November 2019 22:47
- Forum: Python
- Topic: Selector switch
- Replies: 2
- Views: 1106
Selector switch
Hello I want to modify a selector switch in domoticz. This switch is created with this command: Option1 = {"Scenes": "|||||", "LevelNames": "0|Vent. 1|Vent. 2|Vent. 3|Vent. red.", "LevelOffHidden": "false", "SelectorStyle": "1"} Domoticz.Device(Name="Pui. Vent. en cours", Unit=17, Type=244, Subtype ...
- Tuesday 07 May 2019 21:02
- Forum: Python
- Topic: Accessing User Variables using internal Python Script
- Replies: 17
- Views: 3425
Re: Accessing User Variables using internal Python Script
Hello Xorfor I looked to my parameters and the IP address range was false, a "," instead of a ";" between 192.168.*.* and 127.0.0.* After my correction, the json command is working but not the plugins. curl 'http://127.0.0.1:8080/json.htm?type=command¶m=getSunRiseSet' With this command, the json ...
- Tuesday 07 May 2019 19:02
- Forum: Python
- Topic: Accessing User Variables using internal Python Script
- Replies: 17
- Views: 3425
Re: Accessing User Variables using internal Python Script
Hello Xorfor Tx a lot to help me. If I do the curl, I have this message: <html><head><title>Unauthorized</title></head><body><h1>401 Unauthorized</h1></body></html> With sudo, it is the same. With the IP address, 192.168.x.x, instead of localhost or 127.0.0.1, it works. I am running Domoticz on a ...
- Sunday 05 May 2019 14:08
- Forum: Python
- Topic: Accessing User Variables using internal Python Script
- Replies: 17
- Views: 3425
Re: Accessing User Variables using internal Python Script
So probably something with your installation? It looks not related to Python or the plugins. On which platform/version is Domoticz installed? Did you a default Domoticz install? Can you ping to localhost? Are you using the default port 8080? Etc... Hello Just to be sure. Is it normal that your ...
- Tuesday 30 April 2019 22:16
- Forum: Python
- Topic: Accessing User Variables using internal Python Script
- Replies: 17
- Views: 3425
Re: Accessing User Variables using internal Python Script
last point today. I tried to install the iCal plugin and I had this message: 2019-04-30 22:12:10.128 Error: (test) Error sending command to domoticz : type=command¶m=getuservariables 2019-04-30 22:12:10.128 Error: (test) Erreur to execute get user variables I tried json links directly in Firefoy ...
- Tuesday 30 April 2019 20:55
- Forum: Python
- Topic: Accessing User Variables using internal Python Script
- Replies: 17
- Views: 3425
Re: Accessing User Variables using internal Python Script
Ok, I update to beta, to the lastest Domoticz-API but I have still the same error: 2019-04-30 20:26:29.451 Status: Python EventSystem: Initalizing event module. 2019-04-30 20:26:29.451 Status: EventSystem: Started 2019-04-30 20:26:29.451 Status: EventSystem: Queue thread started... 2019-04-30 20:26 ...
- Tuesday 30 April 2019 17:41
- Forum: Python
- Topic: Accessing User Variables using internal Python Script
- Replies: 17
- Views: 3425
Re: Accessing User Variables using internal Python Script
Ok, I launched your script without anymodification and I have these errors: 2019-04-30 17:28:30.439 Status: (test) Initialized version 1.0.0, author 'Xorfor' 2019-04-30 17:28:30.492 Error: (test) 'onStart' failed 'AttributeError':''NoneType' object has no attribute 'api''. 2019-04-30 17:28:30.492 ...
- Tuesday 30 April 2019 6:59
- Forum: Python
- Topic: Accessing User Variables using internal Python Script
- Replies: 17
- Views: 3425
Re: Accessing User Variables using internal Python Script
TX, I will try tomorrow.
Antoine
Antoine
- Monday 29 April 2019 16:58
- Forum: Python
- Topic: Accessing User Variables using internal Python Script
- Replies: 17
- Views: 3425
Re: Accessing User Variables using internal Python Script
Me again, In my script I have these error messages: 2019-04-29 16:54:00.177 Error: (VMC-W2) 'onStart' failed 'AttributeError':''NoneType' object has no attribute 'api''. 2019-04-29 16:54:00.177 Error: (VMC-W2) ----> Line 310 in /home/pi/domoticz/plugins/DrexelRead/plugin.py, function onStart 2019-04 ...
- Monday 29 April 2019 7:38
- Forum: Python
- Topic: Accessing User Variables using internal Python Script
- Replies: 17
- Views: 3425
Re: Accessing User Variables using internal Python Script
Xorfor
Would you have an example or several on how to implement user variable api in a script.?
I tried but with no success.
TX
Antoine
Would you have an example or several on how to implement user variable api in a script.?
I tried but with no success.
TX
Antoine
- Wednesday 20 March 2019 20:26
- Forum: Python
- Topic: How to read the value of devices
- Replies: 2
- Views: 2118
Re: How to read the value of devices
Xorfor
Tx a lot for your help. Regarding the heartbeat would you have a link to some explanations? Because I don't understand how to use it.
For the Update, I am implemented it to my script.
Cheers
Antoine
Tx a lot for your help. Regarding the heartbeat would you have a link to some explanations? Because I don't understand how to use it.
For the Update, I am implemented it to my script.
Cheers
Antoine
- Tuesday 19 March 2019 21:33
- Forum: Python
- Topic: Extra API special for Python programmers
- Replies: 9
- Views: 3495
Re: Extra API special for Python programmers
Hello
How to install it on my Pi? I launch the setup.py but I have an egg file and DomoticzAPI.py file or directory. How should I go further?
Tx
Antoine
How to install it on my Pi? I launch the setup.py but I have an egg file and DomoticzAPI.py file or directory. How should I go further?
Tx
Antoine
- Tuesday 19 March 2019 17:05
- Forum: Python
- Topic: How to read the value of devices
- Replies: 2
- Views: 2118
How to read the value of devices
Hello I made a script based on several I saw already on this forum. Means I am not a programmer... My script is working finte. It's reading the registers of a modbus from my ventilation system but I want to optimize some points. 1) I would like to know if we can set how often is runing the plugin? 2 ...
- Sunday 03 February 2019 15:20
- Forum: Z-Wave
- Topic: Zwave scene Fibaro FGR-222 and script
- Replies: 0
- Views: 343
Zwave scene Fibaro FGR-222 and script
Hello I activated the scene association of my FGR-222 which gave me: - for S1, 3 devices - for S2, 4 devices The forth device for S2 is the one for three pushes. I want to use it to close the blinds and to put on the zwave plug on of the tv-set or to open the blinds and put off the tv-set. To do so ...
- Thursday 29 November 2018 8:43
- Forum: Z-Wave
- Topic: Fakro remote ZWPS8
- Replies: 3
- Views: 545
Re: Fakro remote ZWPS8
Hello
What do you understand with supports?
Personnaly I didn't try to much but I didn't succeed to use them for other things than opening the blinds.
Regards
Antoine
What do you understand with supports?
Personnaly I didn't try to much but I didn't succeed to use them for other things than opening the blinds.
Regards
Antoine
- Wednesday 07 November 2018 7:26
- Forum: Z-Wave
- Topic: Migrate Zwave stick
- Replies: 3
- Views: 744
Re: Migrate Zwave stick
Hello
You should save the database of the Zstick in case of troubles in the futur.
Antoine
You should save the database of the Zstick in case of troubles in the futur.
Antoine
- Thursday 18 October 2018 16:13
- Forum: LUA
- Topic: Error in LUA script event
- Replies: 4
- Views: 1307
Re: Error in LUA script event
Please use the code display </> to share your program.
Os.date. Is it not a string value? Try with a tonumber https://www.domoticz.com/wiki/User_variables
Antoine
Os.date. Is it not a string value? Try with a tonumber https://www.domoticz.com/wiki/User_variables
Antoine
- Wednesday 17 October 2018 7:44
- Forum: Z-Wave
- Topic: 2 Zwave usb in paralell (EU and US)
- Replies: 4
- Views: 685
Re: 2 Zwave usb in paralell (EU and US)
How do you manage the USB ports in Domoticz? Do you use persistent port or not? If not I would try to use this. Probably the vendor and product ID are the sames, so you should use this solution: Alternative filtering via Devpath.
Regards
Antoine
Regards
Antoine
- Tuesday 16 October 2018 9:48
- Forum: Z-Wave
- Topic: Zwave blinds, stop
- Replies: 7
- Views: 977
Re: Zwave blinds, stop
Thanks for your answer.
I have other Zwave blinds which don't support percentage. So, I can only open or close them. In winter I don't care, in summer, I would appreciate to open them just a little.
Antoine