Several modules are not added

Posted on
Sat Nov 21, 2020 8:46 am
davinci offline

Several modules are not added

I use a shared weather station that has a rain gauge. However the plugin does not generate a device. Wind meter is available though.
Could this be a limitation of the plugin? I was invited to that station - it isn't just a random station. To me it looks like the max number of devices was reached...

Code: Select all
   NetatmoWelcome                  Processing Regenmesser NAModule3
   Error                           device "Schlafen Air Monitor" state key Rain not defined (ignoring update request)


It looks like the sensor Schlafen (Indoor module) was labeled as a rain gauge.

Looks like I am also missing my outdoor module.
I know there is an issue to make the devices if the device name is already in use. But that seems to be ok.

After reloading the plugin I get this:

bold ones are missing...

Reloading plugin "NetatmoWelcome 1.4.4"
Stopping plugin "NetatmoWelcome 1.4.4" (pid 56809)
NetatmoWelcome Stopping Netatmo Multi plugin
NetatmoWelcome Stopping Netatmo Multi plugin
Stopped plugin "NetatmoWelcome 1.4.4"
Starting plugin "NetatmoWelcome 1.4.4" (pid 57007)
Started plugin "NetatmoWelcome 1.4.4"
NetatmoWelcome Starting Netatmo Multi plugin
NetatmoWelcome Current tokens are valid; authentication not required
NetatmoWelcome ********************************************************************
NetatmoWelcome Starting Netatmo Multi monitoring thread
NetatmoWelcome Access and Refresh Tokens will be saved on shutdown
NetatmoWelcome Weather station(s) will be polled
NetatmoWelcome - Favourite third party stations will also be polled
NetatmoWelcome ********************************************************************
NetatmoWelcome Processing Wohnen NAMain
NetatmoWelcome Processing Noise
NetatmoWelcome Processing Temp
NetatmoWelcome Processing Temp Trend
NetatmoWelcome Processing Pressure
NetatmoWelcome Processing Humidity
NetatmoWelcome Processing CO2
NetatmoWelcome Processing CO2 Cal
NetatmoWelcome Processing Min/Max
NetatmoWelcome Processing Timestamp
NetatmoWelcome Finding weather device
NetatmoWelcome Processing Garage NAModule1
NetatmoWelcome Processing Schlafen NAModule4
NetatmoWelcome Processing Wohnzimmer NAMain
NetatmoWelcome Processing Noise
NetatmoWelcome Processing Temp
NetatmoWelcome Processing Temp Trend
NetatmoWelcome Processing Pressure
NetatmoWelcome Processing Humidity
NetatmoWelcome Processing CO2
NetatmoWelcome Processing CO2 Cal
NetatmoWelcome Processing Min/Max
NetatmoWelcome Processing Timestamp
NetatmoWelcome Finding weather device
NetatmoWelcome Processing Outdoor NAModule1
NetatmoWelcome Processing Regenmesser NAModule3
Error device "Netatmo Schlafen" state key Rain not defined (ignoring update request)
Error device "Netatmo Schlafen" state key Rain not defined (ignoring update request)
Error device "Netatmo Schlafen" state key RainLastHour not defined (ignoring update request)
Error device "Netatmo Schlafen" state key RainLastHour not defined (ignoring update request)
Error device "Netatmo Schlafen" state key RainLastDay not defined (ignoring update request)
Error device "Netatmo Schlafen" state key RainLastDay not defined (ignoring update request)
Error device "Netatmo Schlafen" state key RainThisMonth not defined (ignoring update request)
Error device "Netatmo Schlafen" state key RainThisMonth not defined (ignoring update request)
NetatmoWelcome Processing Schlafzimmer NAModule4
NetatmoWelcome Processing Bad NAModule4
NetatmoWelcome Processing Windmesser NAModule2
NetatmoWelcome Processing Büro NAModule4

Posted on
Sat Nov 21, 2020 3:47 pm
racarter offline
User avatar
Posts: 477
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Several modules are not added

The plug-in acts on the data it receives from the Netatmo servers. Please enable logging of comms to the event log and post the result.

Posted on
Sun Nov 22, 2020 3:12 am
davinci offline

Re: Several modules are not added

The log is attached.

It looks to me it mixes up third party station with my own...

XXXXXXX 15 is the shared station.
Attachments
Log.txt
(13.65 KiB) Downloaded 110 times

Posted on
Sun Nov 22, 2020 4:27 am
racarter offline
User avatar
Posts: 477
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Several modules are not added

There is no maximum number of devices, other than the limit of Netatmo hardware.

For some reason the plugin thinks the module called Schlafen is a rain gauge. Did you allow the plugin to create devices on its own? Did you make sure there were no devices with the same name, which would cause Indigo errors when the plugin tried to create the devices?

One other user had difficulties when transitioning from another Netatmo plugin to this one; he solved the problem by disabling the old plugin, deleting all the old plugin's devices, deleting the prefs files for both plugins then restarting Netatmo Multi.

Posted on
Mon Nov 23, 2020 12:56 pm
davinci offline

Re: Several modules are not added

Yes I did allow it to create them.
There were some devices with the same name, even from Netatmo some names were duplicates.

I would prefer the naming to be unique when creating the devices. Maybe using the address as a prefix.

I have the old plugin uninstalled, but some devices are still there. Might have to try that again from scratch.

Posted on
Tue Nov 24, 2020 6:30 am
davinci offline

Re: Several modules are not added

I removed the old plugin, the preferences from your plugin, disabled the plugin, removed all devices and installed 1.4.6.

Still the same.

Schlafen is not a rain sensor...


NetatmoWelcome Processing Schlafen NAModule4
..
NetatmoWelcome Processing Regenmesser NAModule3
Error device "Schlafen Air Monitor" state key Rain not defined (ignoring update request)


After I did that a few times I no longer get this error. But I am still missing "Regenmesser". :|

Posted on
Tue Nov 24, 2020 7:02 am
davinci offline

Re: Several modules are not added

Unfortunately the error returned. Garage sensor is created though.

Posted on
Tue Nov 24, 2020 7:07 am
racarter offline
User avatar
Posts: 477
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Several modules are not added

I think we may be talking at cross purposes here. Because few third party stations have rain and wind sensors, the plugin does not currently support those devices. You get only one device showing the basic temperature, pressure etc.

Posted on
Tue Nov 24, 2020 7:09 am
davinci offline

Re: Several modules are not added

I am now missing the outdoor sensor of the shared station.

But I get a wind sensor created from the shared station, and it works.


This is probably not the same as a third party station in general? It is more like a second house.

Posted on
Tue Nov 24, 2020 7:13 am
davinci offline

Re: Several modules are not added

I think I got it now:

I don't have to add third party stations. It adds the shared station anyway. I guess this case was not covered in the plugin.

I get WS-0, WS1, WSM1-6 but there are more WSM available.

Posted on
Tue Nov 24, 2020 7:17 am
racarter offline
User avatar
Posts: 477
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Several modules are not added

The plugin is written to support only the main outdoor module of third party stations, since most do not have wind or rain sensors. No other Indigo devices should be created.

If you are getting other third party devices created I think I see what might be causing this. Whether the plugin asks for your station data or third party data the Netatmo servers return both sets. I will need to look into this, since I have not come across the problem before. It may be caused by a change to the API.

Posted on
Tue Nov 24, 2020 7:23 am
davinci offline

Re: Several modules are not added

But I need this data as well and I like that the wind sensor works already.

Do you think it is possible to support this?
This worked with the plugin of berkinet.

Can I continue to program with the sensors I have or do I have to start all over again?

Posted on
Tue Nov 24, 2020 7:25 am
racarter offline
User avatar
Posts: 477
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Several modules are not added

I will look to see what's involved in adding this.

Posted on
Tue Nov 24, 2020 7:26 am
davinci offline

Re: Several modules are not added

Thanks a lot!

Posted on
Sat Nov 28, 2020 7:57 am
davinci offline

Re: Several modules are not added

I apreciate V 1.5.0.

However, I don't get any additional modules after reload.

Wind meter (third party) is still available, but no rain gauge and no outdoor sensor from the third party.

To be clear, I have access to this station because the owner let me. It isn't just a random station (third party?).
On netatmo.com it is listed under homes and under guest stations.


NetatmoWelcome Weather Station Data:
NetatmoWelcome Processing Wohnzimmer NAMain
NetatmoWelcome Processing Noise
NetatmoWelcome Processing Temp
NetatmoWelcome Processing Temp Trend
NetatmoWelcome Processing Pressure
NetatmoWelcome Processing Humidity
NetatmoWelcome Processing CO2
NetatmoWelcome Processing CO2 Cal
NetatmoWelcome Processing Min/Max
NetatmoWelcome Processing Timestamp
NetatmoWelcome Finding weather device
NetatmoWelcome Processing Outdoor NAModule1
NetatmoWelcome Processing Regenmesser NAModule3
NetatmoWelcome Processing Schlafzimmer NAModule4
NetatmoWelcome Processing Bad NAModule4
NetatmoWelcome Processing Windmesser NAModule2
NetatmoWelcome Processing Büro NAModule4
NetatmoWelcome Third Party Weather Station Data:


Bold one is missing, Garage and Schlafen does not appear at all.

Schlafen is added though, showing 0 (mm?) and fails to update. So I guess this would be the rain sensor?
But in this case I don't have any of my devices working - only third party...
The names seem to be mixed. I can only assume that the ID is unique and therefore already in use:
Main stations are WS-0 and WS-1
But for the modules only WMS-1 to WMS-6 are available - and they are in use by the second station.

I would remove all once again, but it is a bit complicated just to try and see the same error again.

Who is online

Users browsing this forum: No registered users and 1 guest