Openhab2 Nest binding - 2.2.0.SNAPSHOT An Updated 2.0 Binding that works!

The setpoint channel is not accepting value
I change the value (via UI or REST) and the value gets reverted back to original value
The other channels work. ambient temperature, humidity and state and read correctly
Only the channel I try to set doesnā€™t work anymore:

Item:

Number House_NestTargetTemperature           "Target Temperature [%.1f Ā°C]"  <temperature> (Thermostats)                                                                                  { channel="nest:thermostat:bca14bfe:dCd2AOytHIiKRTYPM00jxva1Q3Ryl-jm:set_point", mqtt=">[mybroker:House/Nest/TargetTemperature:state:*:default]" }

DEBUG LOG:

==> /var/log/openhab2/openhab.log <==
2018-05-28 08:54:34.847 [DEBUG] [nternal.rest.NestStreamingRestClient] - Check: Receiving streaming events, millisSinceLastEvent=22132
2018-05-28 08:54:35.180 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'keep-alive' event, data: null
2018-05-28 08:54:35.183 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received message to keep connection alive
==> /var/log/openhab2/events.log <==
2018-05-28 08:54:52.038 [ome.event.ItemCommandEvent] - Item 'House_NestTargetTemperature' received command 20.0
2018-05-28 08:54:52.047 [vent.ItemStateChangedEvent] - House_NestTargetTemperature changed from 19.0 to 20.0
==> /var/log/openhab2/openhab.log <==
2018-05-28 08:55:04.852 [DEBUG] [nternal.rest.NestStreamingRestClient] - Check: Receiving streaming events, millisSinceLastEvent=29671
2018-05-28 08:55:05.180 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'keep-alive' event, data: null
2018-05-28 08:55:05.182 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received message to keep connection alive
2018-05-28 08:55:09.849 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{"dCd2AOytHIiKRTYPM00jxva1Q3Ryl-jm":{"humidity":60,"locale":"en-GB","temperature_scale":"C","is_using_emergency_heat":false,"has_fan":false,"software_version":"5.8-8","has_leaf":false,"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVpaq0liBNnq9g","device_id":"dCd2AOytHIiKRTYPM00jxva1Q3Ryl-jm","name":"Living Room","can_heat":true,"can_cool":false,"target_temperature_c":19.0,"target_temperature_f":66,"target_temperature_high_c":24.0,"target_temperature_high_f":75,"target_temperature_low_c":20.0,"target_temperature_low_f":68,"ambient_temperature_c":24.0,"ambient_temperature_f":75,"away_temperature_high_c":24.0,"away_temperature_high_f":76,"away_temperature_low_c":9.0,"away_temperature_low_f":49,"eco_temperature_high_c":24.0,"eco_temperature_high_f":76,"eco_temperature_low_c":9.0,"eco_temperature_low_f":49,"is_locked":false,"locked_temp_min_c":20.0,"locked_temp_min_f":68,"locked_temp_max_c":22.0,"locked_temp_max_f":72,"sunlight_correction_active":false,"sunlight_correction_enabled":true,"structure_id":"NxiaUvbKLKt2NX6gsTigy_OsUdVfTl8bOKdE10NMPwDYX0z0xKzYdg","fan_timer_active":false,"fan_timer_timeout":"1970-01-01T00:00:00.000Z","fan_timer_duration":15,"previous_hvac_mode":"","hvac_mode":"heat","time_to_target":"~0","time_to_target_training":"ready","where_name":"Living Room","label":"","name_long":"Living Room Thermostat","is_online":true,"last_connection":"2018-05-28T07:55:09.776Z","hvac_state":"off"}}},"structures":{"NxiaUvbKLKt2NX6gsTigy_OsUdVfTl8bOKdE10NMPwDYX0z0xKzYdg":{"name":"Home","country_code":"GB","postal_code":"WD196LN","time_zone":"Europe/London","away":"home","thermostats":["dCd2AOytHIiKRTYPM00jxva1Q3Ryl-jm"],"structure_id":"NxiaUvbKLKt2NX6gsTigy_OsUdVfTl8bOKdE10NMPwDYX0z0xKzYdg","rhr_enrollment":false,"wheres":{"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVqyyPytIpKObA":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVqyyPytIpKObA","name":"Attic"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVqF6OZ3U9y_Vw":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVqF6OZ3U9y_Vw","name":"Back Door"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVp21yiZBwnv6A":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVp21yiZBwnv6A","name":"Backyard"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVqE6ZjpgK-ouA":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVqE6ZjpgK-ouA","name":"Basement"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVrUOY8FmAr4Dw":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVrUOY8FmAr4Dw","name":"Bathroom"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVqYV04nrr1L4g":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVqYV04nrr1L4g","name":"Bedroom"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVrpQgbCZqug9A":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVrpQgbCZqug9A","name":"Deck"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVoVWMzfPgKfVQ":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVoVWMzfPgKfVQ","name":"Den"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVrKE9ovA1oW6w":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVrKE9ovA1oW6w","name":"Dining Room"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVrdek3gu8JzZA":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVrdek3gu8JzZA","name":"Downstairs"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVqau6IrRFEo7w":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVqau6IrRFEo7w","name":"Driveway"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVpGWzL16gJfPg":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVpGWzL16gJfPg","name":"Entryway"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVo5ZswC_-mayw":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVo5ZswC_-mayw","name":"Family Room"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVqUqdVFIhP-BA":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVqUqdVFIhP-BA","name":"Front Door"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVrfy95Lcc-x3Q":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVrfy95Lcc-x3Q","name":"Front Yard"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVpfweMsEZ9jLQ":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVpfweMsEZ9jLQ","name":"Garage"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVqcsskuSx1DUA":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVqcsskuSx1DUA","name":"Guest House"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVrnWJZN__EsYw":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVrnWJZN__EsYw","name":"Guest Room"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVrce28EAaYhnQ":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVrce28EAaYhnQ","name":"Hallway"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVpLk9BzS0Qj4w":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVpLk9BzS0Qj4w","name":"Kids Room"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVrNDKrCoY4QXg":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVrNDKrCoY4QXg","name":"Kitchen"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVpaq0liBNnq9g":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVpaq0liBNnq9g","name":"Living Room"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVos7zv75BepEw":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVos7zv75BepEw","name":"Master Bedroom"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVqEgVZ-vrB9Tw":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVqEgVZ-vrB9Tw","name":"Office"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVpOB2RJfvgLLQ":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVpOB2RJfvgLLQ","name":"Outside"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVrZK3irkX9oIg":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVrZK3irkX9oIg","name":"Patio"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVpIi1hRSNuTLA":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVpIi1hRSNuTLA","name":"Shed"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVr0y79WtZNPtg":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVr0y79WtZNPtg","name":"Side Door"},"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVq5DD5Gnhivgg":{"where_id":"0T8uhkAiAtsYrX8xnytAEQcYc--J0UNOtlzUavZJJVq5DD5Gnhivgg","name":"Upstairs"}}}},"metadata":{"access_token":"c.IFHNa7DOeNZFLxNbXn1g2vd5A3yWCAtjpwNk0keTauH6INme07Ci30Sy61UBrr0vuaIsCtp3fgKZlGX6PeaK5LXCIfsXDG4tgwjrgzmmCIgPaxnROg98KifcCGI0iQaGiwDbU9EbM7dKYPj4","client_version":2,"user_id":"z.1.1.sStdZQtWC0/Tm0qrj/HpjNpcsxje4UH8sBtPpVefsLM="}}}
2018-05-28 08:55:09.851 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-05-28 08:55:09.853 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for thermostat
2018-05-28 08:55:09.855 [DEBUG] [g.nest.handler.NestThermostatHandler] - Updating thermostat dCd2AOytHIiKRTYPM00jxva1Q3Ryl-jm
==> /var/log/openhab2/events.log <==
2018-05-28 08:55:09.875 [vent.ItemStateChangedEvent] - House_NestTargetTemperature changed from 20.0 to 19.0
==> /var/log/openhab2/openhab.log <==
2018-05-28 08:55:09.881 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for structure
2018-05-28 08:55:09.884 [DEBUG] [ng.nest.handler.NestStructureHandler] - Updating structure NxiaUvbKLKt2NX6gsTigy_OsUdVfTl8bOKdE10NMPwDYX0z0xKzYdg
2018-05-28 08:55:34.854 [DEBUG] [nternal.rest.NestStreamingRestClient] - Check: Receiving streaming events, millisSinceLastEvent=25005
2018-05-28 08:55:35.181 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'keep-alive' event, data: null
2018-05-28 08:55:35.182 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received message to keep connection alive
2018-05-28 08:56:04.855 [DEBUG] [nternal.rest.NestStreamingRestClient] - Check: Receiving streaming events, millisSinceLastEvent=29674
2018-05-28 08:56:05.181 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'keep-alive' event, data: null
2018-05-28 08:56:05.182 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received message to keep connection alive

If youā€™re using openHAB 2.3.0 that is most likely because your item has no unit (Number and not a Number:Temperature, see items example).

Also make sure that the set_point channel in Paper UI has the Temperature unit:

Selection_022
If itā€™s showing ā€œNumberā€ you should delete and re-add your thermostat Thing to get the channels updated. Thatā€™s because ESH does not yet update Things when their ThingType definitions change (issue #2555).

Then you should be able to send commands (see ESH UoM blog post), e.g.

sendCommand(myTemperature, 20.0|Ā°C)

I thought it was something like that
My item is a Number:Temperature item
I donā€™t have a rule setting this temperature because the nest actually does a pretty good job at doing it itself (Which incidentaly is the purpose of a ā€œsmartā€ thermostat) I need to overide it something from the UI for example when the wife is feeling cold.

Just to confirm, it works with a rule:

House_NestTargetTemperature.sendCommand(19.0|Ā°C)

It also work from the Classic UI
My issue from HABpanel. That doesnā€™t work
At least we narrowed it down

Iā€™ll open a new thread under habpanel

This binding has become extremely resource intensive. Iā€™m running on a rpi3b+. When this binding is loaded the CPU jumps up to >200%. Its largely because I have several structures, lots of cameras, thermostats, smoke detectorsā€¦ so there are updates coming through the REST Streaming API almost every secondā€¦ An update will come through while itā€™s still processing the previous updateā€¦ and another during that (one on top of another).

And the binding processes every single thing every times it updates. I wonder if it would be possible to set limits somehow so that only channels items I care about are updated instantly.

In other words when one of these massive 46,000 character updates gets pushed through, the binding can look for only 3 or 4 things to change if the frequency is greater then 5 minutesā€¦ otherwise it can process and update everything.

Iā€™m not exactly sure how that could be implemented. Is anyone else having this problem? Iā€™m open to other suggestions - I just would like this to work without slowing all of my rules to a crawl.

I never noticed this problem with my setup which may have fewer Nest devices and runs on an Intel i5 NUC. What may already help is if the binding would only update linked channels. Maybe you want to test that change with this org.openhab.binding.nest-2.4.0-SNAPSHOT.jar?

There are other changes possible as well but this is the most easiest. :slight_smile:

Also I hope your rules use ā€œchangedā€ conditions with items instead of ā€œreceived updateā€ conditions because that would also cause a lot of unnecessary processing of rules.

See: Items: difference between "changed" and "received update".

Thank you so much @wborn. Unfortunately, I donā€™t notice any change in the amount of time the binding spends processing and the CPU is still full throttle while the binding is installed.

My rules only trigger with changes. I had the same thought initially and vetted everything to make sure. Regardless, the changes that are triggering nest to send an update arenā€™t even items that trigger rules 99% of the time. It is things like the camera snapshot_url, last_event, or any thing with last_connection (to name a few).

Long ago I trimmed the actual number of channels I have down to only a few per thing that I need to monitor. I was hoping this would help but even with your new change in the snapshot it is the same.

Iā€™d be happy to send you a copy of the DEBUG log if you think that might help.

Can you quantify the device count and the number of updates per second? Iā€™ll then try to simulate it and hook up a profiler to find the biggest bottlenecks.

Absolutely. I tried removing a couple structures to see if there was an improvement, but no such luck. In my current configuration there are 8 cameras, 7 smoke_detectors, 1 structure, 1 thermostat.

Here is a snippet of the actual rest updates (with all of the data removed):

2018-06-22 19:06:58.746 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":
2018-06-22 19:07:06.517 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":
2018-06-22 19:07:35.337 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":
2018-06-22 19:07:43.199 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":
2018-06-22 19:07:52.343 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":
2018-06-22 19:08:00.259 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":
2018-06-22 19:08:08.003 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":
2018-06-22 19:08:15.805 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":
2018-06-22 19:08:29.747 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":
2018-06-22 19:08:37.668 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":
2018-06-22 19:08:45.534 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":

So at the moment itā€™s updating once every 8 seconds or so.

Here is the an example of the debug log in between 2 updatesā€¦ the log just keeps rolling and rolling. There is seemingly no break from one update and processing to the next update. Almost every update is like this with no break.

2018-06-22 19:06:58.746 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":........
2018-06-22 19:06:58.751 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-22 19:06:58.777 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for thermostat
2018-06-22 19:06:58.788 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for camera
2018-06-22 19:06:58.798 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for camera
2018-06-22 19:06:58.808 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for camera
2018-06-22 19:06:58.818 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for camera
2018-06-22 19:06:58.828 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for camera
2018-06-22 19:06:58.839 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for camera
2018-06-22 19:06:58.849 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for camera
2018-06-22 19:06:58.859 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for camera
2018-06-22 19:06:58.869 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for smoke detector
2018-06-22 19:06:58.879 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for smoke detector
2018-06-22 19:06:58.889 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for smoke detector
2018-06-22 19:06:58.901 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for smoke detector
2018-06-22 19:06:58.911 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for smoke detector
2018-06-22 19:07:01.706 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for smoke detector
2018-06-22 19:07:01.711 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for smoke detector
2018-06-22 19:07:01.713 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam1_deviceId is not handling update for cam2_deviceId
2018-06-22 19:07:01.715 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-22 19:07:01.804 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam1_deviceId is not handling update for cam3_deviceId
2018-06-22 19:07:01.806 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam1_deviceId is not handling update for cam4_deviceId
2018-06-22 19:07:01.808 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam1_deviceId is not handling update for cam5_deviceId
2018-06-22 19:07:01.810 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam1_deviceId is not handling update for cam6_deviceId
2018-06-22 19:07:01.812 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam1_deviceId is not handling update for cam7_deviceId
2018-06-22 19:07:01.814 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam1_deviceId is not handling update for cam8_deviceId
2018-06-22 19:07:01.816 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam3_deviceId is not handling update for cam2_deviceId
2018-06-22 19:07:01.818 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam3_deviceId is not handling update for cam1_deviceId
2018-06-22 19:07:01.820 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-22 19:07:01.892 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam3_deviceId is not handling update for cam4_deviceId
2018-06-22 19:07:01.894 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam3_deviceId is not handling update for cam5_deviceId
2018-06-22 19:07:01.896 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam3_deviceId is not handling update for cam6_deviceId
2018-06-22 19:07:01.897 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam3_deviceId is not handling update for cam7_deviceId
2018-06-22 19:07:01.899 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam3_deviceId is not handling update for cam8_deviceId
2018-06-22 19:07:01.901 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam4_deviceId is not handling update for cam2_deviceId
2018-06-22 19:07:01.903 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam4_deviceId is not handling update for cam1_deviceId
2018-06-22 19:07:01.904 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam4_deviceId is not handling update for cam3_deviceId
2018-06-22 19:07:01.906 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-22 19:07:01.975 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam4_deviceId is not handling update for cam5_deviceId
2018-06-22 19:07:01.977 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam4_deviceId is not handling update for cam6_deviceId
2018-06-22 19:07:01.979 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam4_deviceId is not handling update for cam7_deviceId
2018-06-22 19:07:01.980 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam4_deviceId is not handling update for cam8_deviceId
2018-06-22 19:07:01.982 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-22 19:07:02.052 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam2_deviceId is not handling update for cam1_deviceId
2018-06-22 19:07:02.054 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam2_deviceId is not handling update for cam3_deviceId
2018-06-22 19:07:02.056 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam2_deviceId is not handling update for cam4_deviceId
2018-06-22 19:07:02.057 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam2_deviceId is not handling update for cam5_deviceId
2018-06-22 19:07:02.059 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam2_deviceId is not handling update for cam6_deviceId
2018-06-22 19:07:02.060 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam2_deviceId is not handling update for cam7_deviceId
2018-06-22 19:07:02.062 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam2_deviceId is not handling update for cam8_deviceId
2018-06-22 19:07:02.064 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam8_deviceId is not handling update for cam2_deviceId
2018-06-22 19:07:02.065 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam8_deviceId is not handling update for cam1_deviceId
2018-06-22 19:07:02.067 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam8_deviceId is not handling update for cam3_deviceId
2018-06-22 19:07:02.068 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam8_deviceId is not handling update for cam4_deviceId
2018-06-22 19:07:02.070 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam8_deviceId is not handling update for cam5_deviceId
2018-06-22 19:07:02.071 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam8_deviceId is not handling update for cam6_deviceId
2018-06-22 19:07:02.073 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam8_deviceId is not handling update for cam7_deviceId
2018-06-22 19:07:02.074 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-22 19:07:02.147 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke1_deviceId is not handling update for smoke2_deviceId
2018-06-22 19:07:02.149 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke1_deviceId is not handling update for smoke3_deviceId
2018-06-22 19:07:02.151 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke1_deviceId is not handling update for smoke4_deviceId
2018-06-22 19:07:02.153 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke1_deviceId is not handling update for smoke5_deviceId
2018-06-22 19:07:02.154 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke1_deviceId is not handling update for smoke6_deviceId
2018-06-22 19:07:02.156 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Updating smoke detector smoke1_deviceId
2018-06-22 19:07:02.230 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke1_deviceId is not handling update for smoke7_deviceId
2018-06-22 19:07:02.232 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam7_deviceId is not handling update for cam2_deviceId
2018-06-22 19:07:02.234 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam7_deviceId is not handling update for cam1_deviceId
2018-06-22 19:07:02.236 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam7_deviceId is not handling update for cam3_deviceId
2018-06-22 19:07:02.238 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam7_deviceId is not handling update for cam4_deviceId
2018-06-22 19:07:02.242 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam7_deviceId is not handling update for cam5_deviceId
2018-06-22 19:07:02.245 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam7_deviceId is not handling update for cam6_deviceId
2018-06-22 19:07:02.248 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-22 19:07:02.320 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam7_deviceId is not handling update for cam8_deviceId
2018-06-22 19:07:02.321 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam5_deviceId is not handling update for cam2_deviceId
2018-06-22 19:07:02.323 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam5_deviceId is not handling update for cam1_deviceId
2018-06-22 19:07:02.324 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam5_deviceId is not handling update for cam3_deviceId
2018-06-22 19:07:02.326 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam5_deviceId is not handling update for cam4_deviceId
2018-06-22 19:07:02.327 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-22 19:07:02.399 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam5_deviceId is not handling update for cam6_deviceId
2018-06-22 19:07:02.401 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam5_deviceId is not handling update for cam7_deviceId
2018-06-22 19:07:02.402 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam5_deviceId is not handling update for cam8_deviceId
2018-06-22 19:07:02.404 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam6_deviceId is not handling update for cam2_deviceId
2018-06-22 19:07:02.405 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam6_deviceId is not handling update for cam1_deviceId
2018-06-22 19:07:02.407 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam6_deviceId is not handling update for cam3_deviceId
2018-06-22 19:07:02.408 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam6_deviceId is not handling update for cam4_deviceId
2018-06-22 19:07:02.410 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam6_deviceId is not handling update for cam5_deviceId
2018-06-22 19:07:02.411 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-22 19:07:02.489 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam6_deviceId is not handling update for cam7_deviceId
2018-06-22 19:07:02.491 [DEBUG] [nding.nest.handler.NestCameraHandler] - Camera cam6_deviceId is not handling update for cam8_deviceId
2018-06-22 19:07:02.494 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke5_deviceId is not handling update for smoke2_deviceId
2018-06-22 19:07:02.496 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke5_deviceId is not handling update for smoke3_deviceId
2018-06-22 19:07:02.498 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke5_deviceId is not handling update for smoke4_deviceId
2018-06-22 19:07:02.500 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Updating smoke detector smoke5_deviceId
2018-06-22 19:07:02.575 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke5_deviceId is not handling update for smoke6_deviceId
2018-06-22 19:07:02.578 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke5_deviceId is not handling update for smoke1_deviceId
2018-06-22 19:07:02.580 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke5_deviceId is not handling update for smoke7_deviceId
2018-06-22 19:07:02.581 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke7_deviceId is not handling update for smoke2_deviceId
2018-06-22 19:07:02.583 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke7_deviceId is not handling update for smoke3_deviceId
2018-06-22 19:07:02.585 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke7_deviceId is not handling update for smoke4_deviceId
2018-06-22 19:07:02.587 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke7_deviceId is not handling update for smoke5_deviceId
2018-06-22 19:07:02.588 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke7_deviceId is not handling update for smoke6_deviceId
2018-06-22 19:07:02.590 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke7_deviceId is not handling update for smoke1_deviceId
2018-06-22 19:07:02.591 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Updating smoke detector smoke7_deviceId
2018-06-22 19:07:02.738 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Updating smoke detector smoke2_deviceId
2018-06-22 19:07:05.728 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke2_deviceId is not handling update for smoke3_deviceId
2018-06-22 19:07:05.730 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke2_deviceId is not handling update for smoke4_deviceId
2018-06-22 19:07:05.731 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke2_deviceId is not handling update for smoke5_deviceId
2018-06-22 19:07:05.733 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke2_deviceId is not handling update for smoke6_deviceId
2018-06-22 19:07:05.735 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke2_deviceId is not handling update for smoke1_deviceId
2018-06-22 19:07:05.738 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke2_deviceId is not handling update for smoke7_deviceId
2018-06-22 19:07:05.740 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke6_deviceId is not handling update for smoke2_deviceId
2018-06-22 19:07:05.743 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke6_deviceId is not handling update for smoke3_deviceId
2018-06-22 19:07:05.745 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke6_deviceId is not handling update for smoke4_deviceId
2018-06-22 19:07:05.748 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke6_deviceId is not handling update for smoke5_deviceId
2018-06-22 19:07:05.750 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Updating smoke detector smoke6_deviceId
2018-06-22 19:07:05.869 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke6_deviceId is not handling update for smoke1_deviceId
2018-06-22 19:07:05.874 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke6_deviceId is not handling update for smoke7_deviceId
2018-06-22 19:07:05.876 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke3_deviceId is not handling update for smoke2_deviceId
2018-06-22 19:07:05.878 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Updating smoke detector smoke3_deviceId
2018-06-22 19:07:05.970 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke3_deviceId is not handling update for smoke4_deviceId
2018-06-22 19:07:05.972 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke3_deviceId is not handling update for smoke5_deviceId
2018-06-22 19:07:05.974 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke3_deviceId is not handling update for smoke6_deviceId
2018-06-22 19:07:05.977 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke3_deviceId is not handling update for smoke1_deviceId
2018-06-22 19:07:05.978 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke3_deviceId is not handling update for smoke7_deviceId
2018-06-22 19:07:05.980 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke4_deviceId is not handling update for smoke2_deviceId
2018-06-22 19:07:05.982 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke4_deviceId is not handling update for smoke3_deviceId
2018-06-22 19:07:05.983 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Updating smoke detector smoke4_deviceId
2018-06-22 19:07:06.075 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke4_deviceId is not handling update for smoke5_deviceId
2018-06-22 19:07:06.077 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke4_deviceId is not handling update for smoke6_deviceId
2018-06-22 19:07:06.078 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke4_deviceId is not handling update for smoke1_deviceId
2018-06-22 19:07:06.082 [DEBUG] [est.handler.NestSmokeDetectorHandler] - Smoke detector smoke4_deviceId is not handling update for smoke7_deviceId
2018-06-22 19:07:06.084 [DEBUG] [g.nest.handler.NestThermostatHandler] - Updating thermostat therm1_deviceId
2018-06-22 19:07:06.337 [DEBUG] [ernal.discovery.NestDiscoveryService] - thingDiscovered called for structure
2018-06-22 19:07:06.340 [DEBUG] [ng.nest.handler.NestStructureHandler] - Updating structure structure1_deviceId
2018-06-22 19:07:06.517 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":
1 Like

I alsio see this line showing up frequently in the logs. So maybe the update rate is even more frequent but the processor can only get to it every 7-8 seconds. Iā€™m supposing it gets added to a queue?

[DEBUG] [nternal.rest.NestStreamingRestClient] - Check: Receiving streaming events, millisSinceLastEvent=3321
[DEBUG] [nternal.rest.NestStreamingRestClient] - Check: Receiving streaming events, millisSinceLastEvent=7607
[DEBUG] [nternal.rest.NestStreamingRestClient] - Check: Receiving streaming events, millisSinceLastEvent=4003
[DEBUG] [nternal.rest.NestStreamingRestClient] - Check: Receiving streaming events, millisSinceLastEvent=24

Thanks for the numbers and logging @omatzyo! Thereā€™s some other improvements I want to do with the binding so Iā€™ll combine it with improving performance.

The profiler already showed me some interesting facts. E.g. asking the framework what channels are linked is more expensive than I thought. Getting the Nest deviceId for things, which is done a lot, was also done in an inefficient way.

With debugging on you get tons of logging that helps with debugging. Though keep it off when not debugging because all the extra I/O causes some serious bad performance. :turtle: :snail: Itā€™s called debug for a reason. :smile:

The ā€œCheck: Receiving streamingā€¦ā€ is just a periodic check to see if the connection is still alive by checking how many millis ago an event was received. If itā€™s too high the connection is closed/reopened and the thing status is updated.

Can you test the new performance improvements in this org.openhab.binding.nest-2.4.0-SNAPSHOT.jar @omatzyo? According to my profiler it should perform a lot better!

Fantastic! Thanks so much for making these changes.

Iā€™ve had it going for about 30 minutes with a noticeable improvement. The DEBUG log also looks much better, and there is more of a break between updates. I still have long periods where the CPU jumps up to ~160% during rapid fire updates.

It looks as though the cameras are causing the increased frequencyā€¦ I wonder what the exact trigger is, and if there is something there we can target.

Here is a snippet of the DEBUG logā€¦ (The processing load is similar for me with DEBUG or INFO logging.)

2018-06-24 12:46:31.034 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:46:31.038 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:46:31.047 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:46:31.102 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:46:31.163 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:46:31.214 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:46:31.267 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:46:31.320 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:46:31.373 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:46:31.411 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:46:31.517 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:46:31.522 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:46:31.533 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:46:31.690 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:46:34.505 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:46:34.619 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:46:34.659 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:46:34.712 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:46:34.775 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:46:34.814 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:46:39.960 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:46:39.964 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:46:39.978 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:46:40.027 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:46:40.074 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:46:40.134 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:46:40.344 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:46:43.155 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:46:43.222 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:46:43.280 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:46:43.328 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'keep-alive' event, data: null
2018-06-24 12:46:43.329 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received message to keep connection alive
2018-06-24 12:46:43.404 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:46:43.409 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:46:43.418 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:46:43.469 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:46:43.510 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:46:43.564 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:46:43.613 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:46:43.650 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:46:43.699 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:46:43.752 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:46:43.862 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:46:43.867 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:46:43.875 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:46:43.976 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:46:44.121 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:46:46.964 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:46:47.015 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:46:47.079 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:46:47.136 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:46:47.187 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:46:47.293 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:46:47.307 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:46:47.316 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:46:47.357 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:46:47.403 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:46:47.442 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:46:47.481 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:46:47.524 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:46:47.570 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:46:47.617 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:46:51.665 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:46:51.695 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:46:51.713 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:46:51.776 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:46:51.841 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:46:51.892 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:46:51.945 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:46:51.976 [DEBUG] [nternal.rest.NestStreamingRestClient] - Check: Receiving streaming events, millisSinceLastEvent=3016
2018-06-24 12:46:52.001 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:46:52.056 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:46:52.110 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:46:53.564 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:46:53.571 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:46:53.580 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:46:53.621 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:46:53.668 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:46:53.725 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:46:53.781 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:46:53.831 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:46:53.961 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:46:54.082 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:46:56.977 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:46:56.998 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:46:57.024 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:46:57.081 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:46:57.133 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:46:57.177 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:46:57.224 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:46:57.273 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:46:57.321 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:46:57.381 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:47:10.476 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'keep-alive' event, data: null
2018-06-24 12:47:10.479 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received message to keep connection alive
2018-06-24 12:47:12.193 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:47:12.198 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:47:12.218 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:47:15.117 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:47:15.192 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:47:15.257 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:47:15.322 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:47:15.382 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:47:15.425 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:47:15.472 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:47:15.588 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:47:15.596 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:47:15.611 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:47:15.662 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:47:15.724 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:47:15.852 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:47:18.716 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:47:18.841 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:47:18.887 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:47:18.943 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:47:21.983 [DEBUG] [nternal.rest.NestStreamingRestClient] - Check: Receiving streaming events, millisSinceLastEvent=6398
2018-06-24 12:47:24.789 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:47:24.796 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:47:24.817 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:47:25.000 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:47:27.860 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:47:27.912 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:47:27.952 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:47:27.996 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:47:28.039 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:47:28.080 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:47:28.120 [DEBUG] [g.nest.handler.NestThermostatHandler] - Updating thermostat therm8_deviceId
2018-06-24 12:47:28.445 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:47:28.450 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:47:28.460 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:47:28.589 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:47:31.442 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:47:31.568 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:47:31.637 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:47:31.696 [DEBUG] [g.nest.handler.NestThermostatHandler] - Updating thermostat therm8_deviceId
2018-06-24 12:47:31.995 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:47:32.034 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:47:32.086 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:47:32.322 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:47:32.327 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:47:32.348 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:47:32.477 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:47:35.358 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:47:35.433 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:47:35.486 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:47:35.557 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:47:35.629 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:47:35.690 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:47:35.864 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:47:35.872 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:47:35.881 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:47:35.936 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:47:35.987 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:47:36.149 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:47:39.023 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:47:39.099 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:47:39.180 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:47:39.237 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:47:39.361 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:47:39.367 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:47:39.379 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:47:39.423 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:47:39.463 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:47:39.503 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:47:39.541 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:47:39.600 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:47:39.650 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:47:39.770 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:47:42.761 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:47:42.769 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:47:42.779 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:47:42.833 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:47:42.882 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:47:42.935 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:47:42.976 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:47:43.018 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:47:43.066 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:47:43.113 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:47:43.158 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'keep-alive' event, data: null
2018-06-24 12:47:43.159 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received message to keep connection alive
2018-06-24 12:47:43.225 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:47:43.231 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:47:43.240 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:47:43.282 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:47:43.331 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:47:43.379 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:47:43.432 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:47:43.528 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:47:43.674 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:47:46.558 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:47:46.682 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:47:46.688 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:47:46.698 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:47:46.749 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:47:46.801 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:47:46.853 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:47:46.908 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:47:46.963 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:47:47.007 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:47:47.055 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:47:47.168 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:47:47.173 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:47:47.183 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:47:47.262 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:47:47.390 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:47:50.240 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:47:50.313 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:47:50.417 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:47:50.466 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:47:50.510 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:47:50.629 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:47:50.635 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:47:50.643 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
2018-06-24 12:47:50.688 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:47:50.734 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:47:50.779 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:47:50.827 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:47:50.870 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:47:50.910 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:47:50.950 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:47:51.283 [DEBUG] [nternal.rest.NestStreamingRestClient] - Received 'put' event, data: {"path":"/","data":{"devices":{"thermostats":{
2018-06-24 12:47:54.006 [DEBUG] [nternal.rest.NestStreamingRestClient] - Data has changed (or initial data sent)
2018-06-24 12:47:54.030 [DEBUG] [nternal.rest.NestStreamingRestClient] - Check: Receiving streaming events, millisSinceLastEvent=2748
2018-06-24 12:47:54.049 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam7_deviceId
2018-06-24 12:47:54.121 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam3_deviceId
2018-06-24 12:47:54.168 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam2_deviceId
2018-06-24 12:47:54.249 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam1_deviceId
2018-06-24 12:47:54.314 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam8_deviceId
2018-06-24 12:47:54.368 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam6_deviceId
2018-06-24 12:47:54.415 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam5_deviceId
2018-06-24 12:47:54.459 [DEBUG] [nding.nest.handler.NestCameraHandler] - Updating camera cam4_deviceId
1 Like

Thatā€™s great! :slight_smile:

In every update Nest gives the cameras a new URL in the web_url property. :cry:

Performance wise it wonā€™t have a big impact when the channel is unlinked since the binding will then skip updating it. It will just show ā€œUpdating camera ā€¦ā€ in the debug logging.

Iā€™ve created another org.openhab.binding.nest-2.4.0-SNAPSHOT.jar that fixes a bug where channels wouldnā€™t be correctly updated. Also Iā€™ve added some debug logging that shows what channels are updated:

21:08:42.281 [DEBUG] [inding.nest.handler.NestCameraHandler] - Updating camera aOyvbCO0m9SAU7A0-N12VZ0PovAIb2M4Wt9oPOSs2X6pHwviiburLQ
21:08:42.282 [DEBUG] [.binding.nest.handler.NestBaseHandler] - Updating channel nest:camera:83b744b3:aOyvbCO0m9SAU7A0-N12VZ0PovAIb2M4Wt9oPOSs2X6pHwviiburLQ:camera#web_url
21:08:42.282 [DEBUG] [inding.nest.handler.NestCameraHandler] - Updating camera se0a46JTo2LI2WBvy9UmOfuaJ1C4uhsRcLRMUsCkHx6u2--UobrD-A
21:08:42.283 [DEBUG] [.binding.nest.handler.NestBaseHandler] - Updating channel nest:camera:83b744b3:se0a46JTo2LI2WBvy9UmOfuaJ1C4uhsRcLRMUsCkHx6u2--UobrD-A:camera#web_url
1 Like

This is great! Even better since the last snapshot. I have not had the web_url channel connected for several months, so the log looks the same essentially.

Great job @wborn!
When can we expect this to be merged in the next snapshot, please?

There are still parts I want to test and maybe rewrite @vzorglub.

Thanks

The testing went well and the code has been reworked so it looks even better. :slight_smile:

So Iā€™ve updated the org.openhab.binding.nest-2.4.0-SNAPSHOT.jar with the latest changes and created the following PR:

1 Like

The performance improvements should be part of openHAB 2.4.0-SNAPSHOT build #1308 that was just created.