Sleeping scene with Nest

Moderator: leecollings

Post Reply
ErikJ
Posts: 16
Joined: Saturday 13 June 2015 9:01
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Sleeping scene with Nest

Post by ErikJ »

I need some help with the following:

When I go to bed is use a scene ‘sleeping’ and after a minute all the lights switch off. My wish is that also my Nest thermostat sets to a lower temperature when I use the scene ‘sleeping’.

So I made a dummy switch named ‘Nest’ and I tried to configure an event when the dummy switch ‘Nest’ is switch off the Nest sets to a temperature of 17 degrees.
Capture.PNG
Capture.PNG (19.28 KiB) Viewed 4556 times
When I test the event I receive the following error: Error: EventSystem: Malformed action sequence!

Any suggestions?
User avatar
Luppie
Posts: 16
Joined: Thursday 08 October 2015 14:23
Target OS: Raspberry Pi / ODroid
Domoticz version: LastBeta
Location: Netherlands
Contact:

Re: Sleeping scene with Nest

Post by Luppie »

Right now, it is not possible to set the temperature with blocky.
To work around this you could add a URL to you'r scene 'On Action'

Code: Select all

http://127.0.0.1:8080/json.htm?type=command&param=udevice&idx=XXX&nvalue=0&svalue=17
Replace XXX with the idx of the Dummy Nest Switch
Raspberry Pi2B | RFLink | MySensors Gateway | 18B20 | P1 | 9x KaKu Old | 3x Kaku New | KaKu PIR | 2x Flamingo Smoke Detector | Chuango PIR | Chuango Door Contact |3x Chinese Therm. Hum. Sensor | 2x SelectPlus DoorBell | RPi 7" Touch Control Panel
ErikJ
Posts: 16
Joined: Saturday 13 June 2015 9:01
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Sleeping scene with Nest

Post by ErikJ »

Hello Luppie,

Thanks for your reply!

I tried the URL in the dummy switch and even in the scene but no action on the Nest. I also tried different IDX numbers, but no result on the Nest.

Some more suggestions?
Capture.PNG
Capture.PNG (316.3 KiB) Viewed 4530 times
Capture2.PNG
Capture2.PNG (185.84 KiB) Viewed 4530 times
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Sleeping scene with Nest

Post by ThinkPad »

I think Luppie made a mistake in his post. The URL he posted is probably right (to update a virtual thermostat), but you don't fill in the IDX of the Nest switch but the URL of the Nest thermostat device.

So in your case the thermostat is IDX 113. This would make the URL look like:

Code: Select all

http://127.0.0.1:8080/json.htm?type=command&param=udevice&idx=113&nvalue=0&svalue=17
The temperature is the '17' at the end. Change it to your own preferred value.

I don't know how the Nest implementation in Domoticz is done, but this will probably work.

P.S. You can call the URL from the switch like you are doing now, but in the Blockly editor there is also a block for calling a URL. Might be useful if you extend your event later on.
I am not active on this forum anymore.
ErikJ
Posts: 16
Joined: Saturday 13 June 2015 9:01
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Sleeping scene with Nest

Post by ErikJ »

Hello ThinkPad,

I already tried the 113 idx but no action on the Nest.

For some reason there is no action on the Nest and in the log file there are no errors.
User avatar
Luppie
Posts: 16
Joined: Thursday 08 October 2015 14:23
Target OS: Raspberry Pi / ODroid
Domoticz version: LastBeta
Location: Netherlands
Contact:

Re: Sleeping scene with Nest

Post by Luppie »

ThinkPad is right, I ment the IDX of the virtual thermostat.
Because a scene is a momentary button I'm not sure if there is a Off mode, thats why I've put the URL @ On Action (I see that you have put it @ Off Action - I've tested it with my config and the Off Action does nothing with a Scene.)

Also, when updating the virtual thermostat, do you have any actions that tells your Nest to change the temperature ?
Only a virtual dummy thermostat, will do nothing.
Raspberry Pi2B | RFLink | MySensors Gateway | 18B20 | P1 | 9x KaKu Old | 3x Kaku New | KaKu PIR | 2x Flamingo Smoke Detector | Chuango PIR | Chuango Door Contact |3x Chinese Therm. Hum. Sensor | 2x SelectPlus DoorBell | RPi 7" Touch Control Panel
ErikJ
Posts: 16
Joined: Saturday 13 June 2015 9:01
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Sleeping scene with Nest

Post by ErikJ »

When I set the temperature in the utility tab, I get the following information:

In the log file: 2015-10-29 17:30:56.967 (Nest) Thermostat (Nest)

In the devices overview:
Capture.PNG
Capture.PNG (44.75 KiB) Viewed 4508 times
When I active the scene, and I tried also enter the command in de off and on path. There is in the log file the same message as above, but in the devices tab no change. And there is also no change on the Nest.
User avatar
Luppie
Posts: 16
Joined: Thursday 08 October 2015 14:23
Target OS: Raspberry Pi / ODroid
Domoticz version: LastBeta
Location: Netherlands
Contact:

Re: Sleeping scene with Nest

Post by Luppie »

When I open the URL in a browser (not in domoticz) I get the following log entry:

Code: Select all

2015-10-29 18:16:40.620 Sending SetPoint to device....
2015-10-29 18:16:40.621 (Thermostaat) Thermostat (Thermostaat)
Can you try the URL in a browser (not in domoticz) and see what the log says ?
Raspberry Pi2B | RFLink | MySensors Gateway | 18B20 | P1 | 9x KaKu Old | 3x Kaku New | KaKu PIR | 2x Flamingo Smoke Detector | Chuango PIR | Chuango Door Contact |3x Chinese Therm. Hum. Sensor | 2x SelectPlus DoorBell | RPi 7" Touch Control Panel
ErikJ
Posts: 16
Joined: Saturday 13 June 2015 9:01
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Sleeping scene with Nest

Post by ErikJ »

Found it!!

I had to change the port number, my domoticz is working under 8084 in stead of 8080.

Thanks for your help, I am very happy this works!
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Sleeping scene with Nest

Post by ThinkPad »

Doh..... but good to hear it is working!
I am not active on this forum anymore.
ErikJ
Posts: 16
Joined: Saturday 13 June 2015 9:01
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Sleeping scene with Nest

Post by ErikJ »

Hello,

For some reason my "on action" or "off action" for the Nest is not working anymore.

Used for more than four months the action: http://127.0.0.1:8084/json.htm?type=com ... &svalue=17 but a few weeks ago nothing happens anymore :?

When I use it in the browser and change the url IP-address to the address of the Domoticz server it still works. I receive the message:

{
"status" : "OK",
"title" : "Update Device"
}

In Domoticz log there is no error. Also when I change the URL in the event switch from 127.0.0.1 to IP-address of the server there is no error in the log. When I change http to https, there is an error, that Domoticz cannot open url.

I can change the temperature in Domoticz but only with a setpont command in the tab utility.

Any suggestions?

Using Domoticz version: V3.4834 on sysnology NAS
springfield
Posts: 2
Joined: Wednesday 09 November 2016 15:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Sleeping scene with Nest

Post by springfield »

Have you find a fix for it?
TurnAround
Posts: 1
Joined: Wednesday 28 September 2016 11:51
Target OS: Windows
Domoticz version:
Contact:

Re: Sleeping scene with Nest

Post by TurnAround »

Hi, Could I get this bed with bedding here in Australia?
Buy Bambury online at Rushk.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest