Domoticz?

This is looking interesting – I just spotted Domiticz  – and apparently it can talk to devices via MQTT.. and we have ESP devices running with MQTT… hmmmm I wonder how much work would be involved in getting the first ESP temperature sensor talking to Domoticz by MQTT..

Advertisements

15 thoughts on “Domoticz?

  1. A nice find Peter. Although at present the links on the home page are not working.

    I see from my Google search they even have a image of a Raspberry Pi build. Pitty you sold yours 🙂

  2. Well, it’s not going that well. The installation of Domoticz on a PC is easy – looks nice on the surface – but the only explanation of how to set up the MQTT plugin – is for PI and the file is missing anyway. It would certainly be nice to be able to set that up on a PC and then experiment with an ESP8266 device set to send and retrieve MQTT message for, say a temperature sensor (well, anything just to get the ball rolling).

  3. Hi, Peter
    Great job there!

    I have (finally!!) a full operative SDK environment in Mac OSX Yosemite, and the latest NodeMCU compiles fine.

    Did you succeed on integrating MQTT in NodeMCU? Taking into account that the latest SDK provides up to 20k heap available, using MQTT would a great advance.

      • Just followed these instructions (from https://github.com/pfalcon/esp-open-sdk/issues/11):

        This might help (tested on yosemite 10.10.1):

        –install proper sed, gperf and grep:

        brew install gnu-sed –with-default-names
        brew tap homebrew/dupes
        brew install gperf
        brew install grep

        –create and mount a case sensitive volume:

        hdiutil create ~/Desktop/eos.dmg -volname “esp-open-sdk” -size 10g -fs “Case-sensitive HFS+”
        hdiutil mount ~/Desktop/eos.dmg
        cd /Volumes/eos-open-sdk
        git clone git@github.com:pfalcon/esp-open-sdk.git
        cd eos-open-sdk

        –build it normally

        make

        Some issues: after installing GNU versions, you need to verify that you are using the new utilities (instead of preinstalled ones). Therefore, you can export the path for new installed, f.e.:

        export grep=”/brew2/local/bin/ggrep”

        with your proper path for homebrew installations.

    • I heard from the NodeMcu guys that they’re working on an MQTT/CoAP module for Lua. No ETA yet on when this might be available so we’ll just have to wait. Hopefully it will appear soon.

      • It would be good – if only Lua continues to improve and RAM issues don’t get in the way. I wrote some code to get the time and do other stuff with Lua including a means to store variables in Flash (alternating two startup files or rather an intermediate one)… everything worked well individually but when I strung them together they simply ran out of RAM even though I was closing variables off. Zeroday was very helpful but ultimately could not help – so I put the really excellent LUA on the back burner. If however it has improved and can be made rock-solid then I’m sure it will be very useful. If not.. well, there’s always C. If you spot improvements please do let us know in here.

    • Thanks for this – if anyone has a step by step, having installed Dominicz to Windows – go having it talk to any old MQTT client (no need to get into having it work with ESP8266 specifically because once we have messages going back and forth, the ESP8266 bit is now easy. I cannot find a guide to interfacing Domoticz to MQTT in Windows right now and I’m sure that would be useful to people.

  4. In stead of Domoticz, you might want to look into :
    mqttwarn, cf : https://github.com/jpmens/mqttwarn
    I installed it together with Mosquitto on Windows server. Runs smoothly with a lot of possibilities including transforming payloads and periodic tasks with simple python functions 😉 (cf sending out the time on regular intervals)

    Another one :
    http://www.openhab.org which has good MQTT support, cf https://github.com/openhab/openhab/wiki/MQTT-Binding
    Not yet tested but looks promising !

    Also played with http://owntracks.org/ ! Nice free mobile apps to integrate positioning into the MQTT chain ….

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s