HOME › Forums › Gateways › Raspberry Pi › REST HowTo?
-
AuthorPosts
-
AnonymousInactiveMay 9, 2016 at 5:42 pmPost count: 259
Hi Jay,
It seems like your installation was not done properly. Right now it looks like there are some missing reference files in the /etc/zbp directory.
I would just recommend to backup your /etc/zbp/data.db file and then reinstall the zbpserver. Here’s what you will need to do:
1. backup you current devices: $cp /etc/zbp/data.db /home/pi/
2. uninstall zbpserver: sudo apt-get purge zbpserver*
3. check the zbpserver repo, it should be:deb http://repo.smartenit.com/v2 raspbian/stable main
$sudo nano /etc/apt/sources.list
4. install zbpserver: sudo apt-get install zbpserver*
5. restore your devices: cp /home/pi/data.db /etc/zbp/data.db
6. restart your service: sudo sevice zbpserver restartPlease let me know how it goes.
AnonymousInactiveMay 9, 2016 at 8:18 pmPost count: 22OK – thanks
that was somewhat more successful.
I have the following device types:
209 – Appliance Linc
120 – SwitchLinc Dimmer
22A – SwitchLinc
700 – IOLinc
315 – PowerLinc USB model 2413 (however this is reported as a model 305)I am now seeing methods for the model 209, 120 and 22a devices.
the model 700 has no methods and in the log file:
May 9 20:00:14 raspberrypi ZBPServer[11095]: NodeMgmt::reconstructDeviceList: discovering capabilities
May 9 20:00:14 raspberrypi ZBPServer[11095]: NodeMgmt:: Rediscovering device capabilities: id:25ad
May 9 20:00:14 raspberrypi ZBPServer[11095]: NodeMgmt::load dev: “id”:37574,”name”:”Insteon Device: 700″, “model”:”700″,”ima
ge”:”default.jpeg””created”:0,”parameters”:{}”mac”:”24.5e.39″
May 9 20:00:14 raspberrypi ZBPServer[11095]: NodeMgmt::reconstructDeviceList: dev without components detected. id:92c6 model
:700AnonymousInactiveMay 9, 2016 at 8:57 pmPost count: 259We do not have a plugin for the IOLinc in the REST API. 😥
Will have to let you know when we create it.
Also, we are working on opening up the plugins so developers can create and submit their plugins for different devices/controllers. Would you be interested in that?
AnonymousInactiveMay 10, 2016 at 11:36 amPost count: 22sure. what kind of docs do we have ?
AnonymousInactiveMay 10, 2016 at 2:26 pmPost count: 259It is only internal right now, once we have something, I will let you know.
-
AuthorPosts
- You must be logged in to reply to this topic.