Search found 16 matches

by Noudje
Tuesday 26 December 2017 0:02
Forum: Python
Topic: Stability with Python Plugins
Replies: 29
Views: 6197

Re: Stability with Python Plugins

I also have less problems with a complete new install on Stretch. All plugins work great!!! Also the Kodi plugin is better then the standard interface :) . I only have sometimes problems with Connections. Last I did 'import urllib.request' and the plugin didn't work. I commented out this line and ...
by Noudje
Thursday 21 December 2017 22:04
Forum: Python
Topic: Stability with Python Plugins
Replies: 29
Views: 6197

Re: Stability with Python Plugins

I found out that most of the problems come from plugins using connections! I created a simple plugin based on the HTTP.py example. In the example in onStart, you find: self.httpConn = Domoticz.Connection(Name="HTTP Test", Transport="TCP/IP", Protocol="HTTP", Address=Parameters["Address"], Port ...
by Noudje
Monday 11 December 2017 23:39
Forum: Python
Topic: Python Plugin: SolarEdge Public
Replies: 3
Views: 1047

Re: Python Plugin: SolarEdge Public

Thanks for the help. It is very complex to get data from a public SolarEdge device. I stopped this project and I am thinking of a crontab job to retrieve the daily report by executing: url = "https://monitoringpublic.solaredge.com/solaredge-web/p/charts/" + fieldID + "/chartExport?st=" + str(st ...
by Noudje
Sunday 10 December 2017 23:13
Forum: Python
Topic: Stability with Python Plugins
Replies: 29
Views: 6197

Re: Stability with Python Plugins

@Dnpwwo:

On one RPi2B with Jessie, is Domoticz (only) running for 2 years without any problems. This is the one with problems with plugins :oops: .
An other RPi2B with Stretch and a complete new install of the latest beta is running very good. 3 Plugins are running without any problem :) !!!
by Noudje
Saturday 09 December 2017 18:53
Forum: Python
Topic: Stability with Python Plugins
Replies: 29
Views: 6197

Re: Stability with Python Plugins

The Raspberry Pi with a new installation of Domoticz (latest beta) works fine. Two python plugins now running for 3 days without any problem.
by Noudje
Wednesday 06 December 2017 21:31
Forum: Python
Topic: Stability with Python Plugins
Replies: 29
Views: 6197

Re: Stability with Python Plugins

It happens with any python plugin, even with the standard template plugin!!!

I just did a new installation with the latest stretch liet version on a Raspberry 2. Hopefully better result now
by Noudje
Tuesday 05 December 2017 20:58
Forum: Python
Topic: Stability with Python Plugins
Replies: 29
Views: 6197

Re: Stability with Python Plugins

I didn't see any errors in the log. With a Python plugin created hardware but disabled(!), no problems.
by Noudje
Tuesday 05 December 2017 20:47
Forum: Python
Topic: Stability with Python Plugins
Replies: 29
Views: 6197

Stability with Python Plugins

I know that the use of Python Plugins is beta. But my experience is that after adding a python plugin as hardware, after a couple of hours, Domoticz stops working. When I restart the domoticz service, is works again for a couple of hours, but will stop again. With Domoticz stopping, I mean that the ...
by Noudje
Saturday 02 December 2017 15:59
Forum: Python
Topic: Python Plugin: SolarEdge Public
Replies: 3
Views: 1047

Python Plugin: SolarEdge Public

I wrote a plugin to get data from a SolarEdge Public Dashboard. Unfortunately I was not able to get the current power, but only the produced power during the last 15 minutes. In the plugin the device is created with: Domoticz.Device(Name="Power", Unit=1, TypeName="kWh").Create() The device is ...
by Noudje
Saturday 02 December 2017 15:34
Forum: Python
Topic: Python Plugin: request from url
Replies: 4
Views: 1371

Re: Python Plugin: request from url

Thnx for the help!

Meanwhile I found another solution. Now I use urllib to retrieve a csv file from the url.
by Noudje
Wednesday 29 November 2017 23:43
Forum: Python
Topic: Python Plugin: request from url
Replies: 4
Views: 1371

Python Plugin: request from url

I like to get date from an url like www.domain.com?p1=a&p2=b&p3=b. Is that possible with Domoticz.Connection'? I already tried several options with https://github.com/domoticz/domoticz/blob/development/plugins/examples/HTTP.py as an example, but always got the message: resolve: Host not found ...
by Noudje
Sunday 19 November 2017 20:53
Forum: Speech & Voice Systems
Topic: Google AIY Voice Kit
Replies: 4
Views: 3957

Google AIY Voice Kit

Has someone experience with Google AIY Voice Kit and Domoticz? I am able to to send commands with the Voice Kit to Domoticz, to switch lights on/off. This was very easy. But I also want the communication from Domoticz to the Voice Kit. Eg. temperature is too high, let the Voice Kit say 'Temperature ...
by Noudje
Saturday 13 August 2016 19:54
Forum: Blockly
Topic: If Then not working in Blockly?
Replies: 2
Views: 1400

Re: If Then not working in Blockly?

Thnx tozzke! That is the solution. Weird that I can not use nested if-blocks?
by Noudje
Friday 12 August 2016 19:37
Forum: Blockly
Topic: If Then not working in Blockly?
Replies: 2
Views: 1400

If Then not working in Blockly?

I have created the following blockly script:
Knipsel.PNG
Knipsel.PNG (31.97 KiB) Viewed 1334 times
but in the log file, I find:

2016-08-12 19:35:00.517 Start
2016-08-12 19:35:00.517 195
2016-08-12 19:35:00.517 Light on
2016-08-12 19:35:00.517 Light off

Why is the If/Then not working?
by Noudje
Tuesday 26 January 2016 9:49
Forum: PHP and all others
Topic: Execute a script only once an hour
Replies: 17
Views: 10574

Re: Execute a script only once an hour

Thnx for all the replies!!!

I will rename my LUA file and test it.
by Noudje
Monday 25 January 2016 23:34
Forum: PHP and all others
Topic: Execute a script only once an hour
Replies: 17
Views: 10574

Execute a script only once an hour

I am new to Domoticz. And I want not only to monitor the energy consumption/production of my house, but also want to monitor the free space on the discs from my NAS. I mounted the discs from my NAS, created a LUA script (script_device_FreeSpace.lua) to calculated the free space for each disc, and ...