Search found 12 matches

by ceesgeert
Thursday 08 October 2020 18:10
Forum: Heating/cooling
Topic: Domoticz RPC for NIBE Uplink
Replies: 160
Views: 58432

Re: Domoticz RPC for NIBE Uplink

Forget about my previous post. This was due to being novice in Python programming. But now I get to the real issue the error message below: Can't generate tokens: HTTPSConnectionPool(host='api.nibeuplink.com', port=443): Max retries exceeded with url: /oauth/token (Caused by NewConnectionError ...
by ceesgeert
Thursday 08 October 2020 11:37
Forum: Heating/cooling
Topic: Domoticz RPC for NIBE Uplink
Replies: 160
Views: 58432

Re: Domoticz RPC for NIBE Uplink

I started to implement the python script. Unfortunately it stops in the function "requestTokens" . It continually falls into the exception saying that it can't create the dictionary file. I do not think that that is the problem. I have even set the directory to full read/write rights. Anyone ...
by ceesgeert
Saturday 26 October 2019 15:50
Forum: Other questions and discussions
Topic: High Availability (DR) strategy?
Replies: 2
Views: 407

High Availability (DR) strategy?

What is the best way to recover (automatically when possible) if a Raspberry Domoticz system crashes? Is any strategy documented for these cases. I need to implement such because all (light) switches and controls in my house will be dependent on a running Domoticz system. If this system fails I need ...
by ceesgeert
Saturday 26 October 2019 14:50
Forum: Utility
Topic: P1 Smart Meter Device regenerated
Replies: 4
Views: 992

Re: P1 Smart Meter Device regenerated

I used to have an RFX com, a P1 USB connector and a Zwave USB in the past. I do not know the previous configuration as to which device used which USB port. At this moment there is only a Zwave configured as in the original picture. It is sitting on /dev/ttyACM0 (I think where is used to be in the ...
by ceesgeert
Tuesday 22 October 2019 20:15
Forum: Utility
Topic: P1 Smart Meter Device regenerated
Replies: 4
Views: 992

Re: P1 Smart Meter Device regenerated

I might not have been clear enough in the description in this post. The problem: a P1 smart meter is generated in devices despite the fact that there is no P1 smart meter hardware defined. When I delete the device it is automatically generated again And the log file contains many messages in the log ...
by ceesgeert
Thursday 17 October 2019 19:53
Forum: Utility
Topic: P1 Smart Meter Device regenerated
Replies: 4
Views: 992

P1 Smart Meter Device regenerated

I used to have a SMart meter which was connected via a P1 connector for Gas and Electricity. This worked for a very long time. In the current house we have no SMart meter and I tried to remove the related device and hardware configuration. At this moment there is no hardware for P1 defined ...
by ceesgeert
Friday 11 October 2019 13:56
Forum: dzVents
Topic: DZventz access to (global) persistant data [Solved]
Replies: 9
Views: 1982

Re: DZventz access to (global) persistant data [Solved]

Thank you for your tip Boum. Indeed I started with one 2-dimensional table but changed it many times even up to single values. However the problems remained. Fortunately my problem not getting access to the global data was resolved by Waaren. (Great this forum and thank you for the fast reponses ...
by ceesgeert
Friday 11 October 2019 10:08
Forum: dzVents
Topic: DZventz access to (global) persistant data [Solved]
Replies: 9
Views: 1982

Re: DZventz access to (global) persistant data [Solved]

Apparently I think it means that the domoticz object referring to global_data can only be accessed via "dz" and not via "domoticz"...

dz.globalData.ambiance_R[selected_ambiance] works
domoticz.globalData.ambiance_R[selected_ambiance] fails
by ceesgeert
Friday 11 October 2019 0:25
Forum: dzVents
Topic: DZventz access to (global) persistant data [Solved]
Replies: 9
Views: 1982

Re: DZventz access to (global) persistant data [Solved]

Thanks Waaren. That was very helpful. This works! I can now start building the rest of my system in an efficient way.
by ceesgeert
Thursday 10 October 2019 22:40
Forum: dzVents
Topic: DZventz access to (global) persistant data [Solved]
Replies: 9
Views: 1982

Re: DZventz access to (global) persistant data [Solved]

I had tried and have tried again the use of domoticz.globalData.name. I have also set a fixed index to be sure. Same result. r = domoticz.globalData.ambiance_R[4] g = domoticz.globalData.ambiance_G[4] b = domoticz.globalData.ambiance_B[4] d = domoticz.globalData.ambiance_dimlevel[4]
by ceesgeert
Thursday 10 October 2019 21:58
Forum: dzVents
Topic: DZventz access to (global) persistant data [Solved]
Replies: 9
Views: 1982

Re: DZventz access to (global) persistant data [Solved]

I know. I have read all that multiple times. But it seems I am blind to the solution. And I do have programming skills.
by ceesgeert
Thursday 10 October 2019 21:43
Forum: dzVents
Topic: DZventz access to (global) persistant data [Solved]
Replies: 9
Views: 1982

DZventz access to (global) persistant data [Solved]

I have tried to use (global) persistant data But I am not able to access the data in a Dzvents script function. What I want to achieve is to set the ambiance for a set of hue spots based on a choice from 1-5 triggered by an event (scene selection). In order to do that I need an array of presets for ...