HOME Forums Gateways Raspberry Pi REST HowTo?

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • Anonymous
    Inactive
    Post 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 restart

    Please let me know how it goes.

    Anonymous
    Inactive
    Post count: 22

    OK – 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
    :700

    Anonymous
    Inactive
    Post count: 259

    We 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?

    Anonymous
    Inactive
    Post count: 22

    sure. what kind of docs do we have ?

    Anonymous
    Inactive
    Post count: 259

    It is only internal right now, once we have something, I will let you know.

Viewing 5 posts - 16 through 20 (of 20 total)
  • You must be logged in to reply to this topic.