• michbeck100

    @tehmilcho not sure but I think heating will never be supported without Alexa skills.

    posted in Howto ... read more
  • mwittig

    @Swen said in ESPimatic mit DeepSleep:

    A good page is this also:

    As far as I can see this is just using deep sleep mode with a deferred latch to wake up the esp. See the links I have provided involving attiny or bistable soft latching to manage the power supply of the esp.

    posted in Support in Deutsch read more
  • michbeck100

    @mwittig I think i know why it doesn’t work for plugins. _validateConfig gets called for each plugin and for every “built-in” device. So here is a difference in handling dummy devices and plugin devices.
    pimatic-echo just extends the cofig schema of the dummy devices. When implementing this i was thinking that this also works for all other devices.
    I guess that this is also the reason why the config editor gui doesn’t work.

    Now that i checked my own setup, i must say that everything works as expected! Maybe it’s the order of the plugins.
    @tehmilcho Could you try to move the echo plugin to the top of the plugin list?

    posted in Howto ... read more
  • michbeck100

    @mwittig Here I’m extending the plugin configuration schema. Seems that this doesn’t work properly for plugins, but only for dummy devices.

    posted in Howto ... read more
  • mwittig

    As a work-around use the configuration editor

    posted in Howto ... read more
  • leader21

    Hey guys!

    Having another gadget here for you : the Kerui M8 Doorbell and Alarm device


    (my pimatic coffee cup as size comparison ;))

    With this device you are having several possibilities :

    1. Doorbell
    2. Nightlight
    3. Alarm (very loud!)
    4. Welcome Voice (useless, since the voice is not clearly understandable)
    5. Doorbell / Music device playing MP3 from MicroSD card!

    All these functions can be triggered with a HomeduinoRF buttonsdevice.

        {
          "buttons": [
            {
              "id": "tuerklingel",
              "text": "Tuerklingel",
              "protocols": [
                {
                  "name": "switch5",
                  "options": {
                    "id": 139364,
                    "unit": 0,
                    "state": true,
                    "all": true
                  },
                  "rfrepeats": 11
                }
              ]
            },
            {
              "id": "mp3klingel",
              "text": "Mp3 Klingel",
              "protocols": [
                {
                  "name": "switch5",
                  "options": {
                    "id": 139365,
                    "unit": 0,
                    "state": true,
                    "all": true
                  },
                  "rfrepeats": 11
                }
              ]
            },
            {
              "id": "nachtlicht",
              "text": "Nachtlicht",
              "protocols": [
                {
                  "name": "switch22",
                  "options": {
                    "id": 69393,
                    "command": "A"
                  },
                  "rfrepeats": 11
                }
              ]
            },
            {
              "id": "alarm",
              "text": "Alarm",
              "protocols": [
                {
                  "name": "switch22",
                  "options": {
                    "id": 69393,
                    "command": "D"
                  },
                  "rfrepeats": 11
                }
              ]
            },
            {
              "id": "scharfschalten",
              "text": "Alarm ein",
              "protocols": [
                {
                  "name": "switch22",
                  "options": {
                    "id": 69393,
                    "command": "C"
                  },
                  "rfrepeats": 11
                }
              ]
            },
            {
              "id": "entschaerfen",
              "text": "Alarm aus",
              "protocols": [
                {
                  "name": "switch22",
                  "options": {
                    "id": 69393,
                    "command": "B"
                  },
                  "rfrepeats": 11
                }
              ]
            }
          ],
          "echo": {
            "additionalNames": []
          },
          "id": "klingel",
          "name": "Klingel",
          "class": "HomeduinoRFButtonsDevice"
        }
    

    You are able to trigger the functions of the device with the doorbell button and with the 4-button remote.

    You have to learn a Button for each function, so did I for the MP3 Music feature. Now i’m having Metallica’s “for whom the bell tolls” as doorbell :laughing:
    (for teaching a Button to the device without remote just take my above device, set the M8 doorbell into learning mode at the desired function like doorbell, nightlight etc … and press the button in pimatic.

    the doorbell button can be used as switch 5, the 4-buttons remote has the switch 22 protocol. the buttons are then segmented as command A to D
    I raised the RF repeats to 11 so the RF reception of the M8 Doorbell is better then.

    Another interesting thing is that you can arm/disarm the alarm sound for the device. You are able to easily create an alarm system with pimatic. Unfortunately the alarm does not continue until it is disabled. The siren will shrill for approx 30 seconds.
    But that shouldn’t be a problem at all since you can trigger the alarm with rules or with a PIR for example.

    On the backside of the device you will find the buttons for the several modes, on the bottom there you will see the SD-slot AND a mico USB jack for power! Very nice :)

    Now have fun with the Kerui M8 Doorbell device and let the “Hells Bells” ring :smiling_imp:

    posted in Hardware read more
  • mwittig

    As @swen said just using an ESP with deep on batteries won’t give you sufficient battery lifetime as the power drain is still to high.

    I think the most promising approach is to use another circuit which manages the power supply for the ESP, for example, to power up the ESP at regular intervals or when a sensor contact is closed. Depending on what you want to do a relatively soft latching power switch may do or low foot-print mirco controller like the attiny 13a.

    There are also some tweaks which can be done to reduce the general consumption of the NodeMCU and other boards which may also help to some extent.

    The following links might be useful

    posted in Support in Deutsch read more
  • wutu

    Hey @OrTiN,
    that’s not a bug. It is the essence of MQTT. Until the data arrives, the value is unknown.
    The solution is to set the retain flag on the sending device or manually directly to the topic.
    For example: mosquitto_pub -t test/value -m '20' -r.

    Unfortunately, an error message remains. And it affects other plugins.

    19:32:46.017 [pimatic-filter] [SimpleMovingAverageFilter#flue-gas] Error on device flue-gas: Input value is null or undefined
    19:32:46.022 [pimatic, VariablesDevice] Error getting attribute value test-value.var: Expected variable test-mqtt-sensor.value to have a numeric value.
    19:32:46.036 [pimatic] Could not update variable test-value.var: Expected variable test-mqtt-sensor.value to have a numeric value.
    

    Perhaps it would be a solution to use a retain flag and delay the creation of a mqtt device until Pimatic joins the broker.
    I’ll look at this more closely.

    posted in Troubleshooting read more
  • leader21

    depends on where you buy it. you need the bridge for approx 20 euro and the bulbs for appr. 10 to 25 euro. but you are way flexible with that.
    the only disadvantage is that you are only able to control 4 bulbs with one milight bridge.

    posted in Hardware read more

Looks like your connection to pimatic forum was lost, please wait while we try to reconnect.