No Update of netatmo items

Hi,

I’m facing the same problems:

  • 404 Not Found
  • 500 Internal Server Error
  • 502 Bad Gateway

My items are not updated even the thing „Netatmo API“ is ONLINE - it’s annoying. For the moment it seems sufficient to just restart the Binding via bundle:start (not the whole OH process again and again), then it’s working again for a while… but not stable. I hope, this will not be the new default when they are sailing under Legrand flag…

Cheers,
Marianne

1 Like

Intranet of Things people :slight_smile:
too much cloud = stormy systems :stuck_out_tongue:

:joy: Your’e absolutely right! My Healthy Home Coach is the ONLY cloud basted hardware I bought – and now I know again why I hate this cloud approach so much!

1 Like

Lucky us for using “just” the weather and/or security products. Imagine you have the thermostat or relays for controlling your heating via Netatmo cloud. You would have been freezing for hours by now …

1 Like

That is the reason, why the thermostat of my Heaters are “cloudless”, connected local with my Fritzbox and controlled with openhab rules - also my Window sensors. :wink:

Netatmo is less important for me, I use it in openhab only for the heater rules. all other features I use with native netatmo app

The binding doesn’t seem to request a refreshed token either.

From the last Week and till yesterday (Thursday), It is stop working again. Sinces Thursday is not refreshing any more

Crazy!

Here Some Logs relatet To Netatmo Binding

2018-11-25 03:17:21.969 [ERROR] [nternal.handler.NetatmoDeviceHandler] - Unable to connect Netatmo API : 500 Internal Server Error
.
.
.
2018-11-25 04:07:52.074 [ERROR] [nternal.handler.NetatmoDeviceHandler] - Unable to connect Netatmo API : 500 Internal Server Error
.
.
.
2018-11-25 23:16:26.932 [ERROR] [nternal.handler.NetatmoDeviceHandler] - Unable to connect Netatmo API : 500 Internal Server Error
.
.
.
2018-11-26 00:01:05.599 [ERROR] [nternal.handler.NetatmoDeviceHandler] - Unable to connect Netatmo API : 500 Internal Server Error
.
.
.
2018-11-26 01:42:20.581 [ERROR] [nternal.handler.NetatmoDeviceHandler] - Unable to connect Netatmo API : 500 Internal Server Error
.
.
.
2018-11-26 23:24:57.211 [ERROR] [nternal.handler.NetatmoDeviceHandler] - Unable to connect Netatmo API : 500 Internal Server Error
2018-11-26 23:25:30.585 [ERROR] [nternal.handler.NetatmoDeviceHandler] - Unable to connect Netatmo API : 500 Internal Server Error
2018-11-26 23:26:03.863 [ERROR] [nternal.handler.NetatmoDeviceHandler] - Unable to connect Netatmo API : 500 Internal Server Error
2018-11-26 23:46:02.652 [ERROR] [nternal.handler.NetatmoDeviceHandler] - Unable to connect Netatmo API : 500 Internal Server Error
2018-11-27 00:45:48.684 [ERROR] [nternal.handler.NetatmoDeviceHandler] - Unable to connect Netatmo API : 500 Internal Server Error
2018-11-27 00:50:27.926 [ERROR] [nternal.handler.NetatmoDeviceHandler] - Unable to connect Netatmo API : 500 Internal Server Error
2018-11-27 00:51:01.221 [ERROR] [nternal.handler.NetatmoDeviceHandler] - Unable to connect Netatmo API : 500 Internal Server Error
2018-11-27 03:12:10.128 [ERROR] [nternal.handler.NetatmoDeviceHandler] - Unable to connect Netatmo API : 500 Internal Server Error
2018-11-27 03:32:18.348 [ERROR] [nternal.handler.NetatmoDeviceHandler] - Unable to connect Netatmo API : 500 Internal Server Error
.
.
.
2018-11-28 03:50:31.816 [ERROR] [nternal.handler.NetatmoDeviceHandler] - Unable to connect Netatmo API : 500 Internal Server Error
2018-11-28 04:10:44.310 [ERROR] [nternal.handler.NetatmoDeviceHandler] - Unable to connect Netatmo API : 500 Internal Server Error
.
.
.
2018-11-28 23:33:23.823 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
java.lang.NullPointerException: null
	at org.openhab.binding.netatmo.internal.station.NAModule3Handler.getNAThingProperty(NAModule3Handler.java:46) ~[?:?]
	at org.openhab.binding.netatmo.internal.handler.AbstractNetatmoThingHandler.lambda$3(AbstractNetatmoThingHandler.java:109) ~[?:?]
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:?]
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:?]
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) ~[?:?]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[?:?]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:?]
	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:?]
	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:?]
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[?:?]
	at org.openhab.binding.netatmo.internal.handler.AbstractNetatmoThingHandler.updateChannels(AbstractNetatmoThingHandler.java:106) ~[?:?]
	at org.openhab.binding.netatmo.internal.handler.NetatmoModuleHandler.updateChannels(NetatmoModuleHandler.java:97) ~[?:?]
	at org.openhab.binding.netatmo.internal.handler.NetatmoDeviceHandler.lambda$7(NetatmoDeviceHandler.java:202) ~[?:?]
	at java.util.Optional.ifPresent(Optional.java:159) ~[?:?]
	at org.openhab.binding.netatmo.internal.handler.NetatmoDeviceHandler.lambda$5(NetatmoDeviceHandler.java:200) ~[?:?]
	at java.util.concurrent.ConcurrentHashMap.forEach(ConcurrentHashMap.java:1597) ~[?:?]
	at org.openhab.binding.netatmo.internal.handler.NetatmoDeviceHandler.updateChildModules(NetatmoDeviceHandler.java:198) ~[?:?]
	at org.openhab.binding.netatmo.internal.handler.NetatmoDeviceHandler.updateChannels(NetatmoDeviceHandler.java:158) ~[?:?]
	at org.openhab.binding.netatmo.internal.handler.NetatmoDeviceHandler.lambda$0(NetatmoDeviceHandler.java:84) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]

since than no log entry from neteatmo binding

1 Like

Further Information:
I disabled the Netatmo API Thing ans enable again, than you can see following information in the event-log:

2018-11-30 09:23:48.508 [hingStatusInfoChangedEvent] - 'netatmo:NAMain:33485a7f:70ee502760ea' changed from ONLINE to UNINITIALIZED

2018-11-30 09:23:48.517 [hingStatusInfoChangedEvent] - 'netatmo:NAMain:33485a7f:70ee502760ea' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2018-11-30 09:23:48.524 [hingStatusInfoChangedEvent] - 'netatmo:NAModule1:33485a7f:020000274f92' changed from ONLINE to UNINITIALIZED

2018-11-30 09:23:48.539 [hingStatusInfoChangedEvent] - 'netatmo:NAModule1:33485a7f:020000274f92' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2018-11-30 09:23:48.547 [hingStatusInfoChangedEvent] - 'netatmo:NAModule3:33485a7f:050000032998' changed from ONLINE to UNINITIALIZED

2018-11-30 09:23:48.566 [hingStatusInfoChangedEvent] - 'netatmo:NAModule3:33485a7f:050000032998' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2018-11-30 09:23:48.574 [hingStatusInfoChangedEvent] - 'netatmo:netatmoapi:33485a7f' changed from ONLINE to UNINITIALIZED

2018-11-30 09:23:48.634 [hingStatusInfoChangedEvent] - 'netatmo:netatmoapi:33485a7f' changed from UNINITIALIZED to UNINITIALIZED (DISABLED)

2018-11-30 09:24:46.275 [hingStatusInfoChangedEvent] - 'netatmo:netatmoapi:33485a7f' changed from UNINITIALIZED (DISABLED) to INITIALIZING

2018-11-30 09:24:48.813 [hingStatusInfoChangedEvent] - 'netatmo:netatmoapi:33485a7f' changed from INITIALIZING to ONLINE

2018-11-30 09:24:48.825 [hingStatusInfoChangedEvent] - 'netatmo:NAModule1:33485a7f:020000274f92' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING

2018-11-30 09:24:48.829 [hingStatusInfoChangedEvent] - 'netatmo:NAMain:33485a7f:70ee502760ea' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING

2018-11-30 09:24:48.835 [hingStatusInfoChangedEvent] - 'netatmo:NAModule1:33485a7f:020000274f92' changed from INITIALIZING to OFFLINE: Pending parent object initialization

2018-11-30 09:24:48.842 [hingStatusInfoChangedEvent] - 'netatmo:NAModule3:33485a7f:050000032998' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING

2018-11-30 09:24:48.844 [hingStatusInfoChangedEvent] - 'netatmo:NAMain:33485a7f:70ee502760ea' changed from INITIALIZING to OFFLINE: Pending parent object initialization

2018-11-30 09:24:48.849 [hingStatusInfoChangedEvent] - 'netatmo:NAMain:33485a7f:70ee502760ea' changed from OFFLINE: Pending parent object initialization to ONLINE

2018-11-30 09:24:48.855 [hingStatusInfoChangedEvent] - 'netatmo:NAModule3:33485a7f:050000032998' changed from INITIALIZING to OFFLINE: Pending parent object initialization

2018-11-30 09:24:48.877 [vent.ItemStateChangedEvent] - NetatmoOutdoorTemp changed from 7 to UNDEF

2018-11-30 09:24:48.887 [vent.ItemStateChangedEvent] - NetatmoOutdoorTempTrend changed from stable to UNDEF

2018-11-30 09:24:48.901 [vent.ItemStateChangedEvent] - NetatmoOutdoorHumidity changed from 89 to UNDEF

2018-11-30 09:24:48.928 [vent.ItemStateChangedEvent] - NetatmoOutdoorHumidex changed from 6.40 to UNDEF

2018-11-30 09:24:48.950 [vent.ItemStateChangedEvent] - NetatmoOutdoorHeatIndex changed from 73.804390243170161056696088053286075592041015625 to UNDEF

2018-11-30 09:24:48.956 [vent.ItemStateChangedEvent] - NetatmoOutdoorDrew changed from 5.3153692386528970104109248495660722255706787109375 to UNDEF

2018-11-30 09:24:49.076 [vent.ItemStateChangedEvent] - NetatmoOutdoorMinTemp changed from 2.900000095367431640625 to UNDEF

2018-11-30 09:24:49.215 [vent.ItemStateChangedEvent] - NetatmoOutdoorMaxTemp changed from 7.5 to UNDEF

2018-11-30 09:24:49.242 [vent.ItemStateChangedEvent] - NetatmoOutdoorLowBattery changed from OFF to UNDEF

2018-11-30 09:24:49.287 [vent.ItemStateChangedEvent] - NetatmoOutdoorBatteryLevel changed from 68.00 to UNDEF

2018-11-30 09:24:49.310 [vent.ItemStateChangedEvent] - NetatmoOutdoorRFStatus changed from 3 to UNDEF

2018-11-30 09:24:49.456 [hingStatusInfoChangedEvent] - 'netatmo:NAModule1:33485a7f:020000274f92' changed from OFFLINE: Pending parent object initialization to ONLINE

2018-11-30 09:24:49.496 [hingStatusInfoChangedEvent] - 'netatmo:NAModule3:33485a7f:050000032998' changed from OFFLINE: Pending parent object initialization to ONLINE

2018-11-30 09:24:49.605 [vent.ItemStateChangedEvent] - NetatmoIndoorCO2 changed from 1094 to 491

2018-11-30 09:24:49.608 [vent.ItemStateChangedEvent] - NetatmoIndoorTemp changed from 21.299999237060546875 to 20.6000003814697265625

2018-11-30 09:24:49.635 [vent.ItemStateChangedEvent] - NetatmoIndoorPressure changed from 1018.70001220703125 to 1012.4000244140625

2018-11-30 09:24:49.653 [vent.ItemStateChangedEvent] - NetatmoIndoorHumidity changed from 50 to 52

2018-11-30 09:24:49.680 [vent.ItemStateChangedEvent] - NetatmoIndoorHumidex changed from 22.77 to 22.04

2018-11-30 09:24:49.706 [vent.ItemStateChangedEvent] - NetatmoIndoorHeatIndex changed from 30.87474669182895326002835645340383052825927734375 to 31.993330866279126922790965181775391101837158203125

2018-11-30 09:24:49.733 [vent.ItemStateChangedEvent] - NetatmoIndoorDrew changed from 10.4676388071067716367679167888127267360687255859375 to 10.4105940233581577558652497828006744384765625

2018-11-30 09:24:49.746 [vent.ItemStateChangedEvent] - NetatmoIndoorMinTemp changed from 19.299999237060546875 to 19.799999237060546875

2018-11-30 09:24:49.750 [vent.ItemStateChangedEvent] - NetatmoIndoorMaxTemp changed from 21.5 to 21.299999237060546875

2018-11-30 09:24:49.785 [vent.ItemStateChangedEvent] - NetatmoOutdoorTemp changed from UNDEF to 9.30000019073486328125

2018-11-30 09:24:49.807 [vent.ItemStateChangedEvent] - NetatmoOutdoorTempTrend changed from UNDEF to stable

2018-11-30 09:24:49.814 [vent.ItemStateChangedEvent] - NetatmoOutdoorHumidity changed from UNDEF to 85

2018-11-30 09:24:49.821 [vent.ItemStateChangedEvent] - NetatmoOutdoorHumidex changed from UNDEF to 9.27

2018-11-30 09:24:49.828 [vent.ItemStateChangedEvent] - NetatmoOutdoorHeatIndex changed from UNDEF to 64.302445827521950150185148231685161590576171875

2018-11-30 09:24:49.833 [vent.ItemStateChangedEvent] - NetatmoOutdoorDrew changed from UNDEF to 6.91285214962287231088566841208375990390777587890625

2018-11-30 09:24:49.851 [vent.ItemStateChangedEvent] - NetatmoOutdoorMinTemp changed from UNDEF to 9

2018-11-30 09:24:49.854 [vent.ItemStateChangedEvent] - NetatmoOutdoorMaxTemp changed from UNDEF to 9.6000003814697265625

2018-11-30 09:24:49.863 [vent.ItemStateChangedEvent] - NetatmoOutdoorLowBattery changed from UNDEF to OFF

2018-11-30 09:24:49.874 [vent.ItemStateChangedEvent] - NetatmoOutdoorBatteryLevel changed from UNDEF to 68.00

2018-11-30 09:24:49.880 [vent.ItemStateChangedEvent] - NetatmoOutdoorRFStatus changed from UNDEF to 2

2018-11-30 09:24:49.919 [vent.ItemStateChangedEvent] - NetatmoRain24 changed from 2 to 0

2018-11-30 09:24:49.932 [vent.ItemStateChangedEvent] - NetatmoRainRFStatus changed from 1 to 2

The changes are all the current values from Netatmo!

Are you on the latest snapshot?
The last error [warn] should have been fixed:

I think updating the thing is basically the same as restarting the binding. So it’s somewhat expected behavior.

Installed Version: 2.4.0.SNAPSHOT

I’ve noticed problems with this binding (or API) lately aswell (last couple of weeks perhaps), had to restart the binding many times and it keeps coming messages like deladus posted (Unable to connect Netatmo API : 500 Internal Server Error).
Using the latest testbuild M6…

I believe this is due to Netamo server. I have seen these errors as well a few times, mainly around midnight. I think it´s because Netamo is messing around.
Also the last 2-3 days, I have not been able to reach my Netamo weather station. It turned out to be due to new firmware. Had to force it to reconnect and then the message about new firmware popped up. After updating the firmware last night, it has been running fine again.

i’ve installed version 2.3.0 of netatmo binding via paper ui.
how i can install snapshot 2.4.0 and where i can download snapshot 2.4.0?

you can try M6: [OH 2.4.0 M6] Testing Results

edit: no… this PR was merged 2 days ago, so you need the latest Snap

Read in that FAQ about Snap also

I have similar problems. So far I could identify 2 reasons when no data appear in OH:

  1. binding stopped working
  2. Netatmo server issues

Mainly I’m faced with no. 1, thus my question is if this is the right area to investigate since no. 2 is out of influence area.

Are there alreay any issues raised to stabilize the binding?

Just to report that I am having refreshing issues too, since about 10 days on OH 2.3.0.
I have to restart the binding several times per day :cry:
I saw that also the Netatmo App had sevaral disconnections.
To get aware of Netatmo refresh failure I implemented a notification rule, so I can do a manual restart of the binding. (I know it’s not PRO and in some way it could be done with items previous state, still it works).
If anyone is interested in annoying notifications :wink:

var Netatmo_Prev_Out_Temp  = null
var Netatmo_Prev_In_Temp  = null
var Netatmo_Prev_Indoor_CO2 = null
var Netatmo_Watchdog_Counter = 0

rule "Netatmo watchdog"
    when
	   	Time cron "0 0/10 * 1/1 * ? *"
    then
        if(Netatmo_Outdoor_Temp.state.toString != Netatmo_Prev_Out_Temp || Netatmo_Indoor_Temp.state.toString != Netatmo_Prev_In_Temp || Netatmo_Indoor_CO2.state.toString != Netatmo_Prev_Indoor_CO2)
        {
			Netatmo_Prev_Out_Temp  = Netatmo_Outdoor_Temp.state.toString 
            Netatmo_Prev_In_Temp  = Netatmo_Indoor_Temp.state.toString
            Netatmo_Prev_Indoor_CO2  = Netatmo_Indoor_CO2.state.toString
            Netatmo_Watchdog_Counter=0
        }
        else
        {
			if(Netatmo_Watchdog_Counter>=4)
            {
             sendNotification("xxx@gmail.com", "Neatmo non si aggiorna!")
			 playSound("Netatmo_non_si_aggiorna_consiglio_il_riavvio_manuale.mp3", new PercentType(15))	
		    }
			else
            {
             Netatmo_Watchdog_Counter = Netatmo_Watchdog_Counter + 1
            }
        }
end
2 Likes

HI,
I’ve same Issue. I updated the github issue with this info:
https://forum.netatmo.com/viewtopic.php?f=5&t=6912
It seems Netatmo’s API have been changed
:\

That is a topic from 2016!