This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.

Homeyduino - several sensors of same type?

I wonder if it is possible to add multiple temperature sensor from an airduino?
If not could it be implemented?

  Homey.addCapability("measure_temperature");
  Homey.setCapabilityValue("measure_temperature", (int) temperature);

Comments

  • according to dev docs (https://developer.athom.com/docs/apps/tutorial-Drivers-Capabilities.html) you might try 

    Homey.addCapability("measure_temperature.inside");
    Homey.setCapabilityValue("measure_temperature.inside", (int) temperature);

    I'm not sure if the homeyduino also supports this feature.
  • Hi

    I tried above with no success.
    I guess I need to modify the homeyduino app to make it work?


  • I have tried editing the app.json with following code:

    "drivers": [
    ...

    "capabilities": ["measure_temperature.inside"],
       "capabilitiesOptions": {
        "measure_temperature.inside": {
          "title": {
         "en": "Temperature Sensor 1",
         "nl": "Temperatuur Sensor 1"
          }
        }
       }, 

    and for the .ino

    Homey.addCapability("measure_temperature.inside");
    Homey.setCapabilityValue("measure_temperature.inside", (int) temperature);

    But i can´t get it to work, any suggestions?
  • sepatneusepatneu Member
    Hi AndreasT!

    I'm searching for the exakt same feature.
    Please tell me if you find a way to make this work.
  • ANy progress on this?
Sign In or Register to comment.