Python plugin: Air quality monitoring (for France only)

Python and python framework
Logread
Posts: 203
Joined: Sunday 28 August 2016 7:48
Target OS: Raspberry Pi
Domoticz version:
Location: France
Contact:

Re: Python plugin: Air quality monitoring (for France only)

Post by Logread » Thursday 24 August 2017 11:30

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

User avatar
papoo
Posts: 98
Joined: Friday 22 January 2016 23:14
Target OS: Raspberry Pi
Domoticz version: 4.9
Location: France
Contact:

Re: Python plugin: Air quality monitoring (for France only)

Post by papoo » Thursday 24 August 2017 11:39

i enable debug mode but nothing appears in the logs, domoticz run only 10 seconds before crash

gennapium
Posts: 78
Joined: Thursday 18 August 2016 10:06
Target OS: Raspberry Pi
Domoticz version: beta
Location: Netherlands
Contact:

Re: Python plugin: Air quality monitoring (for France only)

Post by gennapium » Thursday 24 August 2017 11:44

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.
Ubuntu server, Raspberry Pi, PiFace 2, RFXCom, Z-wave Stick, Kaku, Sensor

Logread
Posts: 203
Joined: Sunday 28 August 2016 7:48
Target OS: Raspberry Pi
Domoticz version:
Location: France
Contact:

Re: Python plugin: Air quality monitoring (for France only)

Post by Logread » Thursday 24 August 2017 11:47

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

chatainsim
Posts: 93
Joined: Wednesday 25 March 2015 11:46
Target OS: Linux
Domoticz version: v3.9439
Location: France
Contact:

Re: Python plugin: Air quality monitoring (for France only)

Post by chatainsim » Friday 10 November 2017 11:38

I've just installed your plugin and it's working fine for now !

Thank you.

User avatar
xhark
Posts: 13
Joined: Wednesday 14 October 2015 23:23
Target OS: Raspberry Pi
Domoticz version: 3.4834
Location: France
Contact:

Re: Python plugin: Air quality monitoring (for France only)

Post by xhark » Wednesday 12 September 2018 16:55

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 !
FR blogger & sysAdmin

Tonio16
Posts: 33
Joined: Friday 23 February 2018 21:38
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: France
Contact:

Re: Python plugin: Air quality monitoring (for France only)

Post by Tonio16 » Friday 14 September 2018 18:27

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

User avatar
xhark
Posts: 13
Joined: Wednesday 14 October 2015 23:23
Target OS: Raspberry Pi
Domoticz version: 3.4834
Location: France
Contact:

Re: Python plugin: Air quality monitoring (for France only)

Post by xhark » Tuesday 18 September 2018 14:45

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!
FR blogger & sysAdmin

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests