This object is in archive! 
Virtual Sensors - how to Access locally?
Answered
When creating a Virtual Sensor, the URL specified in the control center is "external", i.e. http-requests to the sensor is via the Zipato cloud.
The URL is as follows
https://my.zipato.com/zipato-web/remoting/attribute/set?serial=[Zipato device identifier]&apiKey=[virtual device identifer]&state
Does anyone know if it would be possible for me to make the same call internally in my own network only, i.e. by specifying the local IP address of the Zipabox?
Brgds
Robert
No connection
Real-time notifications may not work
Definitely would be a great feature as it would help lower the cloud dependency and increase the reliability of the system.
Definitely would be a great feature as it would help lower the cloud dependency and increase the reliability of the system.
Exactly, good idea!
Exactly, good idea!
I agree. Would be a great feature.
I agree. Would be a great feature.
I'm with you!
I'm with you!
Dear Guys,
This can be achieved in the local connection but the condition/events will not be registered inside the events tab.
An example:
http://ip:8080/v2/attribute , method PUT
body = {"value" : true}
or value false I case you want to turn it off
Best regards,
Pero Zovkic
Dear Guys,
This can be achieved in the local connection but the condition/events will not be registered inside the events tab.
An example:
http://ip:8080/v2/attribute , method PUT
body = {"value" : true}
or value false I case you want to turn it off
Best regards,
Pero Zovkic
Awesome, I will give it a try.
Awesome, I will give it a try.
Alberto, Let me know once you find out. This is awesome. Now together with some script I can increase the reliability of sensor for daytime or night...
Alberto, Let me know once you find out. This is awesome. Now together with some script I can increase the reliability of sensor for daytime or night...
i did not get this to work. would be great if it would tho..
might be doing somthing wrong, anyone can post a full exemple ?
Would be greatfull since i run both zipabox and domoticz and using calls between them. Somtimes its slow due to cloud communication
//nicklas
i did not get this to work. would be great if it would tho..
might be doing somthing wrong, anyone can post a full exemple ?
Would be greatfull since i run both zipabox and domoticz and using calls between them. Somtimes its slow due to cloud communication
//nicklas
Hmm,
I cannot make it to work. What I did;
1. Created a virtual sensor called "TestSensor" in my zipatile.
2. Extracted the remote link using Zipato API
3. Created a rule that sent me an email (I'm having issues with push notifications) whether the sensor goes active or inactive.
4. Tested the rule and the link directly through my web browser changing states from true to false and viceversa. Everything worked, I got my emails.
5. Went to zipabox and created a rule using HTTP action puzzle as follows
Method: PUT
URL: http://MyZipatileIP:8080/v2/attribute/set?serial=MyZipatileSerial&ep=MyDeviceIdentifier&apiKey=MydeviceAPIKey&state
Body: {"value" : true} or {"value" : false}
For obvious reasons I replaced my ZT/device addresses and identifiers. But this didn't work, I'm pretty sure I'm using the right IP since it is shown on Zipato Web UI.
Pero, can you tell me if I'm doing something wrong?
Hmm,
I cannot make it to work. What I did;
1. Created a virtual sensor called "TestSensor" in my zipatile.
2. Extracted the remote link using Zipato API
3. Created a rule that sent me an email (I'm having issues with push notifications) whether the sensor goes active or inactive.
4. Tested the rule and the link directly through my web browser changing states from true to false and viceversa. Everything worked, I got my emails.
5. Went to zipabox and created a rule using HTTP action puzzle as follows
Method: PUT
URL: http://MyZipatileIP:8080/v2/attribute/set?serial=MyZipatileSerial&ep=MyDeviceIdentifier&apiKey=MydeviceAPIKey&state
Body: {"value" : true} or {"value" : false}
For obvious reasons I replaced my ZT/device addresses and identifiers. But this didn't work, I'm pretty sure I'm using the right IP since it is shown on Zipato Web UI.
Pero, can you tell me if I'm doing something wrong?
Has anyone managed to get Direct Access to work?
If so, please describe how...
Has anyone managed to get Direct Access to work?
If so, please describe how...
Any update if anyone managed to get locall access working?
Thanx,
D
Any update if anyone managed to get locall access working?
Thanx,
D
Replies have been locked on this page!