Page 2 of 2
Re: Python plugin: Air quality monitoring (for France only)
Posted: Thursday 24 August 2017 11:30
by Logread
papoo wrote: Thursday 24 August 2017 10:46
this plugin don't work with the 3.8360 beta version
it crash domoticz on my pi test
urllib.request compatibility surely
Could you please enable debug and investigate the logs ? On my side I'll try to replicate on my development system when I find the time
Re: Python plugin: Air quality monitoring (for France only)
Posted: Thursday 24 August 2017 11:39
by papoo
i enable debug mode but nothing appears in the logs, domoticz run only 10 seconds before crash
Re: Python plugin: Air quality monitoring (for France only)
Posted: Thursday 24 August 2017 11:44
by gennapium
Hi Papoo,
I was browsing through the changes made in the last beta versions, i noticed something about Python 3.6.
On my system i only have Python 3.5 installed. I will install 3.6 this evening to see if that is the problem.
Re: Python plugin: Air quality monitoring (for France only)
Posted: Thursday 24 August 2017 11:47
by Logread
papoo wrote: Thursday 24 August 2017 11:39
i enable debug mode but nothing appears in the logs, domoticz run only 10 seconds before crash
Thanks. I saw your post in the topic
viewtopic.php?f=6&t=19065#p147589... so it is not only this plugin that is affected... I'll try to understand but currently away from my development system... please bear with me (or other plugin developers) on this
Re: Python plugin: Air quality monitoring (for France only)
Posted: Friday 10 November 2017 10:38
by chatainsim
I've just installed your plugin and it's working fine for now !
Thank you.
Re: Python plugin: Air quality monitoring (for France only)
Posted: Wednesday 12 September 2018 16:55
by xhark
Hello,
Thank you for this plugin, but can't work on my domoticz (with debug enabled):
Code: Select all
2018-09-12 16:52:27.650 Status: (PrevAir) Started.
2018-09-12 16:52:30.814 Status: (PrevAir) Initialized version 0.0.3, author 'logread'
2018-09-12 16:52:30.816 Status: (PrevAir) Entering work loop.
2018-09-12 16:52:30.879 (PrevAir) Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE ALL
2018-09-12 16:52:30.881 (PrevAir) 'Port':'0'
2018-09-12 16:52:30.882 (PrevAir) 'Key':'PrevAir'
2018-09-12 16:52:30.884 (PrevAir) 'DomoticzVersion':'4.9700'
2018-09-12 16:52:30.886 (PrevAir) 'Mode2':'1'
2018-09-12 16:52:30.888 (PrevAir) 'Mode1':'15043'
2018-09-12 16:52:30.890 (PrevAir) 'Mode6':'Debug'
2018-09-12 16:52:30.892 (PrevAir) 'DomoticzHash':'a3a45906'
2018-09-12 16:52:30.894 (PrevAir) 'HardwareID':'13'
2018-09-12 16:52:30.896 (PrevAir) 'DomoticzBuildTime':'2018-06-23 16:24:51'
2018-09-12 16:52:30.897 (PrevAir) 'Name':'PrevAir'
2018-09-12 16:52:30.899 (PrevAir) 'HomeFolder':'/home/pi/domoticz/plugins/PrevAir/'
2018-09-12 16:52:30.901 (PrevAir) 'Author':'logread'
2018-09-12 16:52:30.903 (PrevAir) 'Version':'0.0.3'
2018-09-12 16:52:30.904 (PrevAir) Device count: 0
2018-09-12 16:52:30.906 (PrevAir) Number of icons loaded = 3
2018-09-12 16:52:30.908 (PrevAir) Icon 101 prevairorange
2018-09-12 16:52:30.910 (PrevAir) Icon 102 prevairred
2018-09-12 16:52:30.912 (PrevAir) Icon 103 prevairgreen
2018-09-12 16:52:30.914 (PrevAir) Using polling interval of 1 hour(s)
2018-09-12 16:52:31.404 (PrevAir) using station 15043/38185 GRENOBLE - Grenoble Les Frenes at 0km
2018-09-12 16:52:31.407 (PrevAir) Creating device 'PrevAir Station'.
2018-09-12 16:52:31.409 Error: (PrevAir) Failed to update device unit 99
No icon in "Utility" tab too.
Any idea ?
thank you !
Re: Python plugin: Air quality monitoring (for France only)
Posted: Friday 14 September 2018 18:27
by Tonio16
Hello
The plugin is working for me but:
- it didn't find the position itself, I had to enter myself.
- since I have more than 99 deivces, I modified the 99 in the Python plugin by 150.
- I had to validate the add of new devices in parameters.
Tx
Antoine
Re: Python plugin: Air quality monitoring (for France only)
Posted: Tuesday 18 September 2018 14:45
by xhark
It works.
I had to enable "allow new devices" in settings (I forget it was disabled!). And change 99 to 150 (maybe it works without this modification!)
thank you for your help Antoine!