EasyIoT server - Mysensors Raspberry Pi controller



  • New controller on raspberry supports mysensors v1.4. Download: http://iot-playground.com/



  • Interesting. Is this project GPL or closed source/commercial?



  • I didn't decided yet, but anyway for noncommercial use is current version for free. It works with Mysensors BinarySwitchSensor Example (http://mysensors.org/build/binary) so you can use it to remotely monitor your doors/windows.



  • Added new MySensors Driver options. Now you can set Base Radio Id, Data Rate and Power Amplifier level.



  • Hi dopustko,

    Nice project, but it's not working here 😞
    Tryed both server versions, no result, only get error :

    [CODE]
    pi@homecontrol ~/easyiot $ sudo mono EasyIoT.exe
    2014-10-18T19:39:59.7112500+02:00 INFO System System started
    2014-10-18T19:40:03.0918930+02:00 Web service started
    Listening...
    2014-10-18T19:40:04.3352370+02:00 DEBUG MySensors MySensors Connect
    ================ SPI Configuration ================
    CSN Pin = CE0 (PI Hardware Driven)
    CE Pin = Custom GPIO25
    Clock Speed = 8 Mhz
    ================ NRF Configuration ================
    STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
    RX_ADDR_P0-1 = 0xa8a8e1fc00 0xa8a8e1fc00
    RX_ADDR_P2-5 = 0xff 0xc4 0xc5 0xc6
    TX_ADDR = 0xe7e7e7e7e7
    RX_PW_P0-6 = 0x20 0x20 0x20 0x00 0x00 0x00
    EN_AA = 0x3b
    EN_RXADDR = 0x07
    RF_CH = 0x7b
    RF_SETUP = 0x27
    CONFIG = 0x0e
    DYNPD/FEATURE = 0x3f 0x06
    Data Rate = 250KBPS
    Model = nRF24L01+
    CRC Length = 16 bits
    PA Power = PA_MAX
    2014-10-18T19:40:04.5087040+02:00 DEBUG MySensors Mysensors Start driver.
    2014-10-18T19:40:07.7276770+02:00 192.168.178.19 admin Authorization successful.
    2014-10-18T19:40:12.7053630+02:00 DEBUG MySensors Read: 0-26-0 s=255,c=3,t=17,pt=0,l=0:
    2014-10-18T19:40:12.7249430+02:00 DEBUG MySensors Version mismatch
    2014-10-18T19:40:12.7496780+02:00 DEBUG MySensors Read: 0-10-35 s=255,c=3,t=6,pt=0,l=0:
    2014-10-18T19:40:12.7546600+02:00 DEBUG MySensors Version mismatch
    2014-10-18T19:40:14.6999310+02:00 DEBUG MySensors Read: 0-106-3 s=255,c=3,t=11,pt=0,l=0:
    2014-10-18T19:40:14.7087720+02:00 DEBUG MySensors Version mismatch
    2014-10-18T19:40:14.7226980+02:00 DEBUG MySensors Read: 0-26-3 s=255,c=3,t=12,pt=0,l=0:
    2014-10-18T19:40:14.7287360+02:00 DEBUG MySensors Version mismatch
    2014-10-18T19:40:14.7437120+02:00 DEBUG MySensors Read: 0-26-0 s=3,c=3,t=0,pt=0,l=0:
    2014-10-18T19:40:14.7480090+02:00 DEBUG MySensors Version mismatch
    2014-10-18T19:40:14.7627190+02:00 DEBUG MySensors Read: 0-26-0 s=4,c=3,t=0,pt=0,l=0:
    2014-10-18T19:40:14.7688800+02:00 DEBUG MySensors Version mismatch
    2014-10-18T19:40:14.7825070+02:00 DEBUG MySensors Read: 0-26-0 s=4,c=3,t=0,pt=0,l=0:
    2014-10-18T19:40:14.7875390+02:00 DEBUG MySensors Version mismatch
    2014-10-18T19:40:14.8016840+02:00 DEBUG MySensors Read: 0-26-0 s=4,c=3,t=0,pt=0,l=0:
    2014-10-18T19:40:14.8071940+02:00 DEBUG MySensors Version mismatch
    2014-10-18T19:40:14.8225130+02:00 DEBUG MySensors Read: 0-26-0 s=4,c=3,t=0,pt=0,l=0:
    2014-10-18T19:40:14.8278380+02:00 DEBUG MySensors Version mismatch
    2014-10-18T19:40:14.8415230+02:00 DEBUG MySensors Read: 0-26-0 s=4,c=3,t=0,pt=0,l=0:
    2014-10-18T19:40:14.8460490+02:00 DEBUG MySensors Version mismatch
    2014-10-18T19:40:14.8605280+02:00 DEBUG MySensors Read: 0-26-0 s=4,c=3,t=0,pt=0,l=0:
    2014-10-18T19:40:14.8647580+02:00 DEBUG MySensors Version mismatch
    2014-10-18T19:40:14.8786940+02:00 DEBUG MySensors Read: 0-18-65 s=4,c=3,t=16,pt=0,l=0:
    2014-10-18T19:40:14.8828440+02:00 DEBUG MySensors Version mismatch
    [/CODE]



  • Hi, Johnny B Good. I've checked in my code and you are right. It doesn't work with current V1.4 mysensors protocol, beacuse I'm using old message header structure. It looks like they changed message structure (file MyMessage.h). I will fix that in next release.
    For now you can try compile with older version of 1.4 MySensor library. You can download library here: MySensors



  • @dopustko Thanx, it works now 🙂

    Are there coming more posabilities soon instead of S_DOOR and V_TRIPPED ?
    Great site, and great going with the NRF24L01+ on the Raspberry directly 👍

    GreetZz John



  • @Johnny-B-Good nice to hear that now it works. I even did't know that it doesn't work with latest version of MySensors - thx to noticing me.
    Yes, right now I'm preparing new version with (hope this week):

    • fix for mysensors library
    • add S_HUM, V_HUM and S_TEMP, V_TEMP
    • add database support - you will be able to see chart for each sensor

    20-10-2014 16-16-51.png

    In the near future expect support for more sensors and access to Raspberry Pi GPIO, SMS interface to MySensors network...



  • @Johnny-B-Good in new version of EasyIoT server I added new MySensor types: S_HUM, V_HUM and S_TEMP, V_TEMP. Now MySensor driver works with latest MySensor 1.4 library from Githib. I also added logging and displaying sensor data.
    5-11-20149-57-39.png


  • Admin

    Looks good @dopustko!



  • very nice! i'll test it in this weekend. Any chance for RGB sliders?



  • @kihotx which message type is RGB slider? In next release I will implement S_LIGHT V_LIGHT (http://mysensors.org/build/relay example) .



  • V_DIMMER would be great!



  • which modules are supported now?



  • @Dany I will also implement V_DIMMER in future.
    @kihotx EasyIoT server controller at the moment supports S_DOOR, V_TRIPPED, S_HUM, V_HUM and S_TEMP and V_TEMP. In the new release I will add GPIO support (so you can control also Raspberry Pi GPIO ports) and in MySensor driver I will add S_LIGHT an V_LIGHT



  • perferct! when you planning next relesase?



  • @kihotx I hope next week...



  • Have tested this now and it works really well! Any news on planned updates? More sensors, ex power/energy meter would be nice.



  • @jilldris Thx. I will add more sensors in future and also new protocols. Implementing new sensor type in protocol part is easy, hard part is implementing logic and visualization in web UI interface.
    In new release I've added S_LIGHT an V_LIGHT. It works with mysensors relay example.. In new version I've also added Raspberry Pi GPIO driver to control GPIO pins.
    3-12-2014 22-07-21.png



  • New version of EasyIoT server supports MySensors S_MOTION and V_TRIPPED. All supported MySensors types in EasyIoT server are:
    S_DOOR, V_TRIPPED,
    S_HUM, V_HUM,
    S_TEMP,V_TEMP,
    S_LIGHT and V_LIGHT,
    S_MOTION and V_TRIPPED.

    Now is also supported ESP8266 WiFi module.



  • New version of EasyIoT server is released. Supported MySensor data types are:
    S_DOOR, V_TRIPPED,
    S_HUM, V_HUM,
    S_TEMP,V_TEMP,
    S_LIGHT and V_LIGHT,
    S_MOTION and V_TRIPPED.
    I_TIME
    S_DIMMER, V_DIMMER, V_LIGHT
    S_LIGHT_LEVEL, V_LIGHT_LEVEL
    S_BARO, V_PRESSURE, V_FORECAST

    We also added automation functions and SMS gateway (control and monitor your network with SMS).
    dimmer.png

    EasyIoT server download link



  • New beta 0_7b1 is out for testing. New MySensor supported data types are:

    S_DISTANCE, V_DISTANCE
    S_DUST, V_DUST_LEVEL
    S_POWER, V_WATT, V_KWH
    S_WATER, V_FLOW, V_VOLUME
    S_UV, V_UV
    S_MOTION, V_TRIPPED - > also supports motion detector



  • @EasyIoT Does anybody know if there are any basic instructions available on how to installing/using EasyIoT ? I haven't used a Raspberry Pi before.

    The instructions given on MySensors for the Vera controller are really good. Is anything similar available for EasyIoT?



  • @aur did you check EasyIoT server installation. Just connect NRF24L01 directly to RPI and then download RPI image and put it to SD card. In latest beta you have also support for RPI2.



  • New version of EasyIoT server V0.7 released. Supported MySesnors data types are:

    S_DOOR, V_TRIPPED Low power door/window sensor,
    S_HUM, V_HUM,
    S_TEMP,V_TEMP,
    S_LIGHT and V_LIGHT,
    S_MOTION and V_TRIPPED.
    I_TIME
    S_DIMMER, V_DIMMER, V_LIGHT
    S_LIGHT_LEVEL, V_LIGHT_LEVEL
    S_BARO, V_PRESSURE, V_FORECAST
    S_DISTANCE, V_DISTANCE
    S_DUST, V_DUST_LEVEL
    S_POWER, V_WATT, V_KWH
    S_WATER, V_FLOW, V_VOLUME
    S_UV, V_UV
    S_MOTION, V_TRIPPED - > also supports motion detector

    You can download latest release at EasyIoT server download



  • Hi,

    just been trying out version 0.7 of EasyIoT. I've got my battery powered nodes reporting correctly the temperature sensor value in EasyIoT. They do however also transmit the current battery voltage of the node but so far I haven't seen a way to have EasyIoT report that 'sensor' value. Have I missed something or is this not yet supported?

    Many thanks for your work.

    Cheers
    Richard



  • @hawk_2050 Battery status is supported. You do not need to configure anything. Just send battery status and it will show in user interface.



  • Just released EasyIoT server beta v0_8b1 with support for MySensors:S_COVER, V_UP, V_STOP, V_DOWN, V_DIMMER.



  • Why IOT-server does not supported now by MySensor.org?
    It was deleted from the list of controllers.



  • @EasyIoT I was wondering the same thing as @virgus1970

    I liked EasyIoT because it´s so light and fast to install. But is it really necessary to restrain node discovery to be automatic only, there could be some kind of manual discovery too. I mean that debug shows messages from nodes and there you could get the node id, child_id and message type, as far as I understand thats all that controller needs?

    One best thing is that radio works directly from rpi and I don´t have to hussle with gateways separately...

    Unfortunately EasyIoT have a lot of developement to do to be the best controller, there´s a good start to achieve that goal... Domoticz is pretty good too, but it´s way too heavy and slow for me.



  • No luck here ...
    I've installed EasyIoT V0.8 via SDcard image.
    The wiring is done as on this page:
    http://www.instructables.com/id/Low-power-doorwindow-sensor/step2/EasyIoT-server/
    Now, I can open the EasyIoT webpage, so that part seems to be working. But I can't seem to
    enable the MySensors Driver. Unlike with other drivers, clicking the "Disable" button will not show
    additional menue items (like "add nodes"). And clicking the button "won't stick", it's always back to
    "disable". [B.t.w.: the labelling of the button seems counter intuitive in a way... clicking a "disable" button
    to enable something doesn't really make sense 😉 ]

    All I did on the Raspi was a sudo apt-get update/upgrade.
    And in the "MysensorsConfig.xml" I tried to change the channel from 90 to 76, because all my mysensor-
    sensors are using that (It won't stick either, though. After rebooting the number is back to 90).
    Apart from that EasyIoT is exactly as it comes on the image.

    Help, anyone? How can I proceed?
    B.t.w.: how do You run EasyIoT in the command line manually? I can't start it there, obviously because
    it's already running ...

    Thanks,
    Christoph



  • @EasyIoT Can you share your implementation for MySensorsDriver?



Suggested Topics

58
Online

11.4k
Users

11.1k
Topics

112.7k
Posts