pimatic / pimatic-homeduino

Pimatic plugin for using 433mhz devices and sensors with a connected Arduino with homeduino sketch
https://pimatic.org/
GNU General Public License v2.0
37 stars 29 forks source link

Multisensor Device #5

Closed Icesory closed 9 years ago

Icesory commented 9 years ago

I have developt a Multisensor Device. This can show 6 values: "fall of rain", "wind gust", "average airspeed", "wind direction", "temperature" and "humidity". The clou is, you can control which data is shown on which position. You would only see the temperature and humidity, surprise you must config nothing. Minimum it shows 1 value and maximum it shows 6 values. It can receive every value from different protocols. The config looks like this

    {
      "id": "temperaturmulti",
      "name": "Multi",
      "class": "HomeduinoRFWeatherStation",
      "protocols": [
        {
          "name": "weather5",
          "options": {
            "id": 120
          }
        }
      ]
    },

But you can expand it to this

    {
      "id": "temperaturmulti",
      "name": "Multi",
      "class": "HomeduinoRFWeatherStation",
      "protocols": [
        {
          "name": "weather5",
          "options": {
            "id": 120
          }
        }
      ],
      "values": [
        "rain",
        "humidity",
        "windGust",
        "avgAirspeed"
      ]
    },

The Order of the values defines the order of showen values. These keywords are availabel rain, humidity, temperatur, windDirection, avgAirspeed, windGust

for this it was perfect https://github.com/pimatic/rfcontroljs/issues/13

incmve commented 9 years ago

very cool! :+1:

incmve commented 9 years ago

Nice, I just tested it and it looks good :+1: capture

Icesory commented 9 years ago

Thanks for testing. But sweetpi must take a look on this. And he decide about this ;-)

sweetpi commented 9 years ago

Very nice. @Icesory could you rename the Device to: HomeduinoRFWeatherStation?