You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tikismoke> cereal_, if i remember for the moment i still using /rest/sensor(s) about #296
cereal_> /rest/sensors?
cereal_> i think it should be some mq message
cereal_> like device.get
cereal_> it is currently implemented only for mq
tikismoke> looking for this part of code to confirm (maybe /rest/devices do not remmeber) but i'm tryng to use more MQ in domodroid
cereal_> for now it only works in device.get
cereal_> device.get qwithout params = all device
cereal_> device.get with timestamp as parm = return all devices changed after tthat timestamp
tikismoke> Confirm when domogik API version >0.8 the url to get all at start is currently /rest/sensor
cereal_> hmm
cereal_> let me check what i can do in rest
tikismoke> Not to sync?
cereal_> but not sure it will be easy
tikismoke> No problem a mq to advise user he need to sync is fine for me too ;)
cereal_> hmm, ok, but the mq message will also return you the updated devices
tikismoke> to sync i use /rest/device
cereal_> ok you should be able to convert this to device.get
tikismoke> INteresting to auto update the domodroid db. need to add this in the todo
cereal_> and if you then always do device.get timestamp=12345
cereal_> then you get only the updates from domogik
tikismoke> includeng delted one or not?
tikismoke> crapy keyboard....
cereal_> in case you do device.get timestamp=0000 will return all data
cereal_> or device.get without params also returns all data
The text was updated successfully, but these errors were encountered:
tikismoke
changed the title
start domodroid using MQ get/device instead of /rest/sensor
start domodroid using MQ get.device instead of /rest/sensor
Oct 10, 2016
The text was updated successfully, but these errors were encountered: