Coder Social home page Coder Social logo

homie-adapter's People

Contributors

mrsteakhouse avatar tim-hellhake avatar

Watchers

 avatar

homie-adapter's Issues

Cast payload string to its configured type.

When setting the payload directly as string to a number property, the logs do not work as the upper scale is always NaN.
Since we already know at that point which type the payload must have, it can simply be cast before updating the property.
If everyone is okay with it, i will have a look at this.

support broker username and password

The discovery of my homie devices doesn't work if I have users (& corresponding passwords) in my mosquitto broker's config.

Since there's no option to set this in the homie addon's config, I assume it isn't using the mqtt bridge addon (which does support broker username and password).

Support $type of Homie nodes to set Webthing device cabability

Hi,
I just thought about to transfer my project to Homie spec to use only MQTT on the device and make it more compatibe to other IOT projects, like HA. For connection to Mozilla Webthings I wanted to use your plugin. However, I struggle at one elementary thing at the beginning. The Homie spec provides a $type for nodes. It seems that your library doesn't set the device type according to this, I can only add a 'custom thing'. Do you plan to set device types according to https://iot.mozilla.org/schemas/ in your plugin? The custom things are ugly and don't provide the functionality I need for a thermostat, I even can't select this device type manually.

Verify device and property meta tags

Devices and properties contain meta tags about its content. Verify the list of containing nodes and its properties and make sure to not add any non-mentioned items.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.