• I am working on this now @gordon.
    I wanted the lite version to enable max disk space for data logging. The only missing package was git on the lite Raspian build. It was included on the full version, which also includes node-red and nodejs installed.

    I am trying to work out exactly what the right sequence is for getting a Pi working correctly and it is proving to be a challenge.

    The problem I am having now is that the EspruinoHub builds and runs but any write attempt to a Puck produces a connection error:

    MQTT>/ble/write/c6:62:41:ed:7f:9a/nus/nus_tx => "LED1.set();\n"
    Service 	6e400001b5a3f393e0a9e50e24dcca9e
    Characteristic 	6e400002b5a3f393e0a9e50e24dcca9e
    <Connect> Error Connecting
    MQTT>/ble/write/c6:62:41:ed:7f:9a/nus/nus_tx => "LED1.set();\n"
    Service 	6e400001b5a3f393e0a9e50e24dcca9e
    Characteristic 	6e400002b5a3f393e0a9e50e24dcca9e
    <Connect> Error Connecting
    
    Mon Jan 09 2017 19:56:22 GMT+0100 (CET)
    
    0d:25:f9:7c:fc:bd - ? (RSSI -90)
    51:48:02:6a:53:7f - ? (RSSI -57)
    63:ca:e3:eb:70:13 - ? (RSSI -68)
    6c:44:6f:bd:c8:68 - ? (RSSI -90)
    77:e3:27:ba:50:5e - ? (RSSI -65)
    7a:db:3d:87:00:b6 - ? (RSSI -77)
    b4:18:d1:ea:c6:9c - ? (RSSI -59)
    b8:27:eb:09:dd:d5 - EspruinoHub (RSSI -81)
    b8:e8:56:34:55:03 - ? (RSSI -92)
    c6:62:41:ed:7f:9a - Puck.js 7f9a (RSSI -77)
    c8:69:cd:5f:da:d4 - ? (RSSI -87)
    f2:0f:7b:b3:b2:70 - Puck (RSSI -89)
      1809 => {"temp":4}
      180f => {"battery":100}
      2a00 => {"type":"Buffer","data":[80,117,99,107,78,97,109,101]}
    fd:f9:15:7f:43:07 - Puck.js 4307 (RSSI -85)
      2a00 => {"type":"Buffer","data":[3]}
    

    I am not completely happy with nodejs at version 0.10.12 and have just managed to find a way to upgrade it to 7.4 on the Pi, but I have yet to build the rest of the packages based on this version.
    Everything was retrospectively patched just to get the EspruinoHub compiled without errors.
    I need to find a workflow that builds everything correctly and it's taking multiple attempts to work this out.

    I will report back when I have an update.

About

Avatar for Eric @Eric started