Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Unsolved
Collapse
Discussion Forum to share and further the development of home control and automation, independent of platforms.
A

ArcherS

@ArcherS
Errors after updating to MQTTController build 25139
tunnusT
I'm running MSR build 25139 on Docker, using MQTT controller 24293, and everything working as expected. But if I try to upgrade to MQTTController build 25139, I'm getting the following errors on MSR UI: An Entity Attribute condition in "Lay-Z-Spa auto heating off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.god Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa auto heating off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute temperature_sensor.green Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa filter pump auto off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute temperature_sensor.red Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa filter pump auto run" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.pump Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa watchdog" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.status Last 11:20:37 My MQTT configuration (local_mqtt_devices.yaml) for the related entity is: layzspa_message: type: ValueSensor capabilities: ["temperature_sensor", "value_sensor", "power_sensor"] primary_attribute: power_sensor.value events: "layzspa/message": "power_sensor.value": json_payload: true if_expr: '! isnull( payload?.PWR )' expr: "float(payload.PWR)" "value_sensor.air": json_payload: true if_expr: '! isnull( payload?.AIR )' expr: "float(payload.AIR)" "value_sensor.pump": json_payload: true if_expr: '! isnull( payload?.FLT )' expr: "float(payload.FLT)" "value_sensor.god": json_payload: true if_expr: '! isnull( payload?.GOD )' expr: "float(payload.GOD)" "value_sensor.lock": json_payload: true if_expr: '! isnull( payload?.LCK )' expr: "float(payload.LCK)" "value_sensor.unit": json_payload: true if_expr: '! isnull( payload?.UNT )' expr: "float(payload.UNT)" "value_sensor.error": json_payload: true if_expr: '! isnull( payload?.ERR )' expr: "float(payload.ERR)" "temperature_sensor.green": json_payload: true if_expr: '! isnull( payload?.GRN )' expr: "float(payload.GRN)" "temperature_sensor.red": json_payload: true if_expr: '! isnull( payload?.RED )' expr: "float(payload.RED)" "temperature_sensor.target": json_payload: true if_expr: '! isnull( payload?.TGT )' expr: "float(payload.TGT)" "temperature_sensor.value": json_payload: true if_expr: '! isnull( payload?.TMP )' expr: "float(payload.TMP)" "temperature_sensor.virtual": json_payload: true if_expr: '! isnull( payload?.VTM )' expr: "round(float(payload.VTM), 1)" "temperature_sensor.ambient": json_payload: true if_expr: '! isnull( payload?.AMB )' expr: "float(payload.AMB)" "layzspa/Status": "value_sensor.status": if_expr: '! isnull( payload )' expr: "payload" "layzspa/button": "value_sensor.button": if_expr: '! isnull( payload )' expr: "payload" and in reactor.yaml I have: "layzspa_states": name: "Lay-Z-Spa States" friendly_name: 'Lay-Z-Spa States' include: layzspa_message I realize my MQTT configuration might be a bit unorthodox, but could there still be something unintentional in the latest MQTTController build? If needed, I can provide detailed logs.
Multi-System Reactor
🎉 My very first MSR controller: OpenSprinkler
therealdbT
Since today is my birthday - and I still pretend to be unconventional - I'm giving away a present to this wonderful community and I'm releasing my first OpenSprinkler controller for MSR. It was real fun to code it - and while it's still WIP, it seems to work OK for me. It's polling-based at the moment, but I'll add support for updates via MQTT very soon (it's already partially coded). Get it at (install is similar to MQTTController and such): https://github.com/dbochicchio/reactor-opensprinkler Feel free to try it. It's beta software, but it's stable. I'll update it weekly until all the tasks from my todo list are empty. Since I've learnt a lot from this controller, I'll explore new controllers soon.
Multi-System Reactor
Set Reaction > Script Action
wmarcolinW
Topic thumbnail image
Multi-System Reactor
Wiring Samotech SM308-S into light fitting
F
Hi Smart Home Community. I have used a Sonos inline WiFi switch to make one of my light fittings smart, but it requires a hard reset for WiFi changes, plus it isn't zigbee compatible, which means I can't use the Hue app to control it with the rest of the lights. To that end I bought a Samotech SM308-S as it is recommended as the better than the Sonos equivalent. I am however not exactly sure how to wire it in. The manual is available here Can anyone help me by clarifying which ports I need to use, and whether I should be using the live or switched live line for live etc. I will be keeping using standard switches for a while, although hope to upgrade to tap dials once I have all the fittings upgraded. Thanks
Hardware
Advice reqeusted to migrate MSR from Bare Metal to Container
T
Good day all, I'm in the process of trying to shut down my 10 year old Linux home server that served many purposes, but primarily it's what I used for my NAS/Plex Media server. I migrated the NAS aspect of the server in November of last year to a true NAS solution (Ubiquti UNAS Pro), which is rack mount and much more efficient than my old tower, which it's only side benefit was heating my home office during the winter. Unfortunately it also means heating my home office during the summer, which were about to be in full swing. I have two things running on this 10 year old server at this point. MSR and pi-hole. I'm running Plex Media Server on Fedora Workstation in Podman on mini PC, which is much more energy efficient than my old tower. My next step is to migrate MSR. I know there are images of MSR out there, and creating it is well documented. I'm going to be using Podman instead of Docker for various reasons, but they work very similar. What I don't know, is what I need to do to migrate my existing Bare Metal installation over to a container. Has anyone done this? Any advice?
Multi-System Reactor
Reactor (Multi-System/Multi-Hub) Announcements
toggledbitsT
Build 21228 has been released. Docker images available from DockerHub as usual, and bare-metal packages here. Home Assistant up to version 2021.8.6 supported; the online version of the manual will now state the current supported versions; Fix an error in OWMWeatherController that could cause it to stop updating; Unify the approach to entity filtering on all hub interface classes (controllers); this works for device entities only; it may be extended to other entities later; Improve error detail in messages for EzloController during auth phase; Add isRuleSet() and isRuleEnabled() functions to expressions extensions; Implement set action for lock and passage capabilities (makes them more easily scriptable in some cases); Fix a place in the UI where 24-hour time was not being displayed.
Multi-System Reactor
Z-Wave Future....
DesTD
https://forum.z-wave.me/viewtopic.php?f=3417&t=36140 That's not a good thing I think Time to switch again?
Z-Wave.me
Can´t restart or upgrade/deploy MSR
F
Topic thumbnail image
Multi-System Reactor
[Solved] Limit HA Entity in MSR
wmarcolinW
Topic thumbnail image
Multi-System Reactor
Disaster recovery and virtualisation
CatmanV2C
Following on from my last thread, some progress has been made over the weekend. With 18G of spanky RAM in my Synology DS224+. I've jumped into the murky world of virtualisation and already eliminated the need for two Raspberry Pi's from my system. Home Assistant: In theory they provide an OVA file which is supported by the Synology. I couldn't get it to work, however, so grabbed a copy of the .img file they supply, renamed it .iso and imported it as a VM. Restored from my full back up and that all seems fantastic. Minidnla Music server: Trivial. Grabbed a Debian .iso for Bookworm and copied that onto the NAS. Created a new machine which mirrored the specs of the Raspberry Pi, booted from the ISO then did an expert install. Once that was all stable with a basic core of stuff and networking, I've made a copy of that as a good base system. Then fired up minidnla on it, mounted my media and that's also woking. Not bad for a short weekend's work. Still not sure about the main NUC though. I'm thinking of buying a new USB stick so I can mess around getting it working on the Synology before I do anything drastic. Once that hurdle is sorted I'm torn between: Using a brand new install of Bookworm, re-installing Z-way server, OpenLuup, AltUI, MSR and HA bridge, then restoring across or Making an ISO of the current system, importing that and upgrading in place (which will be pretty risk free since I can snapshot everything before I make any changes.) Decisions, decisions. C
General Discussion
Remote access of Zwave stick from Z-wave server
CatmanV2C
Topic thumbnail image
Software
Organizing/ structuring rule sets and rules
R
Hi guys, Just wondering how you guys organize your rule sets and rules. I wish I had an extra layer to have some more granularity, but my feature request was not popular. Maybe there are better ways to organize my rule sets. I use the rule sets now primarily for rooms. So a rule set per room. But maybe grouping by functionality works better. Any examples/ suggestions would be appreciated.
Multi-System Reactor
Moving MSR from a QNAP container to RP 5 - some issues
Tom_DT
Topic thumbnail image
Multi-System Reactor
Widget deletion does not work and landing page (status) is empy
M
Topic thumbnail image
Multi-System Reactor
Need help reducing false positive notifications
T
Topic thumbnail image
Multi-System Reactor
Deleting widgets
tunnusT
Hopefully a trivial question, but how do you delete widgets in a status page? Using build 22266
Multi-System Reactor
MQTT configuration question
tunnusT
I have the following yaml configuration in local_mqtt_devices file x_mqtt_device: set_speed: arguments: speed: type: str topic: "command/%friendly_name%" payload: type: json expr: '{ "fan": parameters.speed }' While this works fine, I'm wondering how this could be changed to "fixed" parameters, as in this case "fan" only accepts "A", "Q" or a numeric value of 1-5?
Multi-System Reactor
System Configuration Check - time is offset
F
Hi! I get this message when I'm on the status tab: System Configuration Check The time on this system and on the Reactor host are significantly different. This may be due to incorrect system configuration on either or both. Please check the configuration of both systems. The host reports 2025-04-01T15:29:29.252Z; browser reports 2025-04-01T15:29:40.528Z; difference 11.276 seconds. I have MSR installed as a docker on my Home Assistant Blue / Hardkernel ODROID-N2/N2+. MSR version is latest-25082-3c348de6. HA versions are: Core 2025.3.4 Supervisor 2025.03.4 Operating System 15.1 I have restarted HA as well as MSR multiple times. This message didn´t show two weeks ago. Don´t know if it have anything to do with the latest MSR version. Do anyone know what I can try? Thanks in advance! Let's Be Careful Out There (Hill Street reference...) /Fanan
Multi-System Reactor
Programmatically capture HTTP Request action status code or error
therealdbT
I have a very strange situation, where if InfluxDB restarts, other containers may fail when restarting at the same time (under not easy to understand circumstances), and InfluxDB remains unreachable (and these containers crashes). I need to reboot these containers in an exact order, after rebooting InfluxDB. While I understand what's going on, I need a way to reliable determine that InfluxDB is not reachable and these containers are not reachable, in order to identify this situation and manually check what's going on - and, maybe, in the future, automatically restart them if needed. So, I was looking at HTTP Request action, but I need to capture the HTTP response code, instead of the response (becase if ping is OK, InfluxDB will reply with a 204), and, potentially, a way to programmatically detect that it's failing to get the response. While I could write a custom HTTP controller for this or a custom HTTP virtual device, I was wondering if this is somewhat on you roadmap @toggledbits Thanks!
Multi-System Reactor
ZwaveJSUI - RGBWW BULB - Warm/Cold White interfered with RGB settings - Bulb doesn't change color if in WarmWhite state.
N
Hi , I'm on -Reactor (Multi-hub) latest-25067-62e21a2d -Docker on Synology NAS -ZWaveJSUI 9.31.0.6c80945 Problem with ZwaveJSUI: When I try to change color to a bulb RGBWW, it doesn't change to the RGB color and the bulb remains warm or cold white. I tryed with Zipato RGBW Bulb V2 RGBWE2, Hank Bulb HKZW-RGB01, Aentec 6 A-ZWA002, so seems that it happens with all RGBWW bulb with reactor/zwavejsui. I'm using from reator the entity action: "rgb_color.set" and "rgb_color.set_rgb". After I send the reactor command, It changes in zwavejsui the rgb settings but doesn't put the white channel to "0", so the prevalent channel remains warm/cold White and the bulb doesn't change into the rgb color. This is the status of the bulb in zwavejsui after "rgb_color.set" (235,33,33,) and the bulb is still warmWhite. x_zwave_values.Color_Switch_currentColor={"warmWhite":204,"coldWhite":0,"red":235,"green":33,"blue":33} The "cold white" and "warm white" settings interfer with the rgb color settings. Reactor can change bulb colors with rgb_color set — (value, ui8, 0x000000 to 0xffffff) or rgb_color set_rgb — (red, green, blue, all ui1, 0 to 255) but if warm or cold white are not to "0", zwavejsui doesn't change them and I can't find a way to change into rgb or from rgb back to warm white. So if I use from reactor: rgb_color set_rgb — (235,33,33) in zwavejsui I have x_zwave_values.Color_Switch_targetColor={"red":235,"green":33,"blue":33} 14/03/2025, 16:43:57 - value updated Arg 0: └─commandClassName: Color Switch └─commandClass: 51 └─property: targetColor └─endpoint: 0 └─newValue └──red: 235 └──green: 33 └──blue: 33 └─prevValue └──red: 235 └──green: 33 └──blue: 33 └─propertyName: targetColor 14/03/2025, 16:43:57 - value updated Arg 0: └─commandClassName: Color Switch └─commandClass: 51 └─property: currentColor └─endpoint: 0 └─newValue └──warmWhite: 204 └──coldWhite: 0 └──red: 235 └──green: 33 └──blue: 33 └─prevValue └──warmWhite: 204 └──coldWhite: 0 └──red: 235 └──green: 33 └──blue: 33 └─propertyName: currentColor In zwavejsui, the bulb changes rgb set but warm White remains to "204" and the bulb remais on warm White channel bacause is prevalent on rgb set. x_zwave_values.Color_Switch_currentColor_0=204 x_zwave_values.Color_Switch_currentColor_1=0 x_zwave_values.Color_Switch_currentColor_2=235 x_zwave_values.Color_Switch_currentColor_3=33 x_zwave_values.Color_Switch_currentColor_4=33 Is it possible to targetColor also for "warmWhite" and "coldWhite" and have something similar to this? x_zwave_values.Color_Switch_targetColor={"warmWhite":0,"coldWhite":0,"red":235,"green":33,"blue":33} Thanks in advance.
Multi-System Reactor
About
Posts
258
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • openLuup: Tasmota MQTT Bridge
    A ArcherS

    Thought it could be good for future users to give a short write up on how to set up Tasmota devices reporting sensors into OpenLuup with the new Tasmota bridge.

    First setup the Tasmota device:
    Browse to the Tasmota device IP and then select "Configuration"
    5037d753-42b7-4014-a4d9-1fd120adfcbb-image.png Go into Configuration Other
    Make sure "Mqtt enable" is set and give a Device Name
    61776069-bf6e-4d2d-b9a5-95451c08b62c-image.png Then into Configuration MQTT
    Give IP adress and port of OpenLuup Mqtt server
    Give a Client name
    Set user and password
    Set topic name
    701d2925-8897-4a7b-8bac-55f13654213b-image.png

    If you want to change how often the Tasmota device pushes data over Mqtt you can do that in the Console for the Tasmota by using the "TelePeriod" command. By default TelePeriod is set to 300 seconds, e.g. "TelePeriod 60" sets it to once every minute. (Just typing "TelePeriod" shows the current value.)

    Second set up OpenLuup:
    Paste the following into Lua Startup:

    luup.attr_set ("openLuup.MQTT.Port", 1883)
    luup.attr_set ("openLuup.MQTT.Username", "luup")
    luup.attr_set ("openLuup.MQTT.Password", "password")
    luup.attr_set ("openLuup.MQTT.PublishVariableUpdates", true) -- Not requred for Tasmota, publish every variable update if wanted
    

    Save and reload Luup engine, you should now get the Tasmota bridge in OpenLuup
    218be9a6-ec10-471a-8e96-65e2462e2d5c-image.png

    You should also get the Tasmota device you setup above
    9eb70057-37e2-4f77-a4c1-2dc5462d5840-image.png On my OpenLuup it got placed in the room "Tasmota".

    Next step is to set up devices for the sensor data you want to get from the Tasmota device. This data is pushed into variables for the Tasmota device (if you hover above a variable name you see the sensor, e.g. "BME280"):
    47c8cd4f-bd2d-499c-86db-0903c792c753-image.png

    Download the plugin "Virtual Sensor" if you do not have it.
    099ba5c9-a5f5-4200-ba6e-5f8d32021544-image.png Go into Virtual Sensors, tab "Virtual Sensors" and create the new virtual sensors you need for the data you want to display from the Tasmota device, you want one virtual sensor per value.
    4deddfff-45bf-4af5-9379-1f45a1ab6644-image.png

    Next step is to set the data from the Tasmota variables to the corresponding virtual sensors.
    Go into the Virtual Sensor plugin, into the tab "Virtual Sensors"
    Select the Tasmota device in the first drop down and then the variable in the second:

    6ba15680-9d35-41bb-a2e2-df5d85115094-image.png

    Job done! Now repeat for all the variables you wish to add into OpenLuup. 🙂

    Plugins

  • Tinkering with Tasmota sensors
    A ArcherS

    @therealdb I built my outdoor sensor from what I had in the garage, very much DIY in other words. 🙂
    I used an outdoor junction box, to this I hot glued a plastic dome from an old motion sensor for the light sensor. I also added a short piece of plastic pipe for the BME280 so that it is outside of the box to get better readings. To keep spiders etc out of the pipe I added an old stainless mesh dome to the end of it.
    In the box is also a 240V/5V transformer.

    The intention is to mount it on the north wall of the house outside of the sun. At the moment it is laying on the window sill.
    utesensor.jpg

    Some more small tips on rules:
    It is possible to create up to three rules for each sensor.
    It is possible to have several "Do" stamements in each rule.
    Rule<x> ON <trigger1> DO <command> ENDON ON <trigger2> DO <command> ENDON ...

    It is very easy to find out the name of each sensor for using in the rules by looking at: http://IP_address/cm?cmnd=Status%2010

    A rule is defined by pasting the rule from e.g. notepad to the Console window of the sensor.
    After that the rule needs to be enabled by Rule1 1, Rule2 1 etc.
    After enabling a rule check in the console that the rule is sending values.
    A rule is deactivated by Rule1 0 etc.
    To see the contents of a rule just type Rule1 etc.
    To delete a rule type Rule1 " etc.

    My recommendation is for people to look at the Tasmota rules documentation, it is very good.
    .
    //ArcherS

    Hardware

  • Help with Z-Way plugin
    A ArcherS

    Thank's for a really quick reply! That indeed did the trick, I knew it was something easy I missed.
    Now I just need to go through my Reactors and re-map my z-way devices. Not too much work.

    //ArcherS

    Zway Bridge

  • Remotec ZRC90
    A ArcherS

    Checked with v20.7.14 and the "sl_CentralScene" variable is updated with the key pressed.

    Thanks again for the update! 🙂

    openLuup

  • Tinkering with Tasmota sensors
    A ArcherS

    Some time ago I stumbled on some rather nice looking temperature and humidity sensors from Xiaomi and how to get them to communicate with a Tasmota ESP32 with BLE.

    Xiaomi temp sensor.jpg

    I ordered an ESP32 on Ebay and a three-pack of the sensors from Bangood. The sensors are quite cheap, you can find them for €4-5 in the usual sites.

    The sensors are quite small, approx 4.5cm and run on a CR2032 battery. Time will tell how long the batteries will last. With the custom firmware you can change the reporting interval.

    I have now been running this for little over two months and it works surprisingly well, bringing the temperature and humidity data into OpenLuup.

    In short what you do is the following:

    • Download the beta Tasmota for ESP32, flashing is a bit different from the regular Tasmota but pretty straight forward

    • Enable bluetooth with setoption115 1

    • The Xiaomi sensors can used both with stock firmware and flashed with a custom firmware that removes the encryption from the transmit of data, I flashed them with a Win10 laptop and it was super easy. You can even roll back the original firmware if you want.

    The Xiaomi sensors will then be included by the ESP32 Tasmota device and can be sent to OpenLuup with rules, brought in with Sitesensor or now via MQTT.

    73f83e12-af75-458a-b021-cd9d413260fc-image.png

    Hardware

  • External antenna on razberry board
    A ArcherS

    It seems as if it is possible to modify it with an external antenna.
    Here is an article on how to modify the Razberry2 EU:
    Modify Razberry2 (translated)

    Is is in Swedish, hopefully the translated text is understandable. 🙂
    In short you cut away the built-in antenna and solder on an antenna connector for the external antenna. You of course need an antenna for the frequency in your country, the article is for 868 MHz (EU).

    //ArcherS

    Z-Wave.me

  • Easy way to convert to SSD from SD card on Pi with MSR
    A ArcherS

    @matteburk if you have a Pi 3B+ then you are in luck since it will boot from USB without doing anything.
    If it is a Pi 3B then you have to change a "USB boot bit", see e.g. this instruction.

    I took the easy route and bought a new Pi 3B+ when I moved my Z-way server to SSD from SD. They are quite cheap anyway and I guess I can get use of the Pi 3B for something else later on.

    As @toggledbits says the Pi's are a bit picky on SSD adapters. I had two old 2.5" cases laying around, one worked and the other did not. The SSD migration cable that came with a Samsung SSD that I used for another PC also works.

    Edit: And if you buy a new Pi 4 they should now also have USB boot out of the box. Assuming the box has not been sitting on the shelf in the store for too long of course. 🙂

    General Discussion

  • openLuup: MQTT server
    A ArcherS

    @akbooer thanks for the assistance and patience, now it works! 🙂

    Edit: Added the humidity to the code:

    local json = require "openLuup.json"
    
    function MyMQTThandler (topic, message)
      local info = json.decode (message)
      local t = info.AM2301.Temperature
      local h = info.AM2301.Humidity
      luup.variable_set ("urn:upnp-org:serviceId:TemperatureSensor1", "CurrentTemperature",  t, 216)
      luup.variable_set ("urn:micasaverde-com:serviceId:HumiditySensor1", "CurrentLevel",  h, 228)
    end
    
    luup.register_handler ("MyMQTThandler", "mqtt:tele/tasmota_test/SENSOR")
    
    openLuup

  • Tinkering with Tasmota sensors
    A ArcherS

    @buxton yes it opens up new possibilities. On the Tasmota bluetooth webpage some other devices are listed, e.g. a soil humidity meter.

    So far it has been quite stable for more than two months.
    The Tasmota ESP32 is still beta, I assume it will get better over time.

    I will also make the ESP32 to report over Mqtt now that OpenLuup has support for it, hopefully that will make the setup even more stable.

    Hardware

  • Luup reload required after server reboot
    A ArcherS

    @rafale77 I tried this way of delaying at startup and it works fine. It does not cause delays when reloading luup which is a clear benefit.

    openLuup

  • P1 electrical smart meter reader
    A ArcherS

    About one month ago I got a new electrical meter in the house. The new meter is a "smart" meter equipped with a data port. It is more or less the same type of meter that is used in a number of European countries, e.g. The Netherlands, Belgium, Sweden etc.
    Norway has selected a different version with a RJ45 port with another protocol.

    The dataport is a serial "P1" port in the form of a RJ12 contact that sends quite a lot of data every 10 seconds:
    c716b64e-dcac-4ea4-9b1b-8ee29eb55edc-image.png

    The data will show both consumption and production if you e.g. have solar panels at home.

    My initial though was to use the Tasmota P1 Smart Meter with Mqtt. I tried this and it works, but unfortunately I got some serial data errors every 5-10th message for some reason so I decided to try another solution.

    I found a few other alternatives and tested one of them. The upside with this version is that it is adapted to the Swedish data fomat that differs from the Dutch a bit and that it delivers the data in Mqtt form:
    2aab179b-a9ea-4041-8c38-f73570206e11-image.png

    The hardware is pretty simple. For the Tasmota variant and most of the other solutions you need a ESP8266, e.g. a Wemos mini and then a transistor and two resistors (image below). The version I use is even simpler since it does not need the transistor.
    For a lot of the meters delivered (DSMR 5 versions if I am right) you can power the ESP from the 5V provided in the RJ12 port, very handy.

    42092756-f6b3-4375-9000-04bcd1e22240-image.png

    It is also possible to buy a readymade P1 meter, this one looks quite nice, although I have not tested it.

    In order to get a good overview of the data from the meter I have started creating a dashboard in Grafana that gets data from Historian in OpenLuup. It is quite useful to be able to see the load over time per phase etc.
    a8276d7b-6b39-4f3a-a663-353173c1da5b-image.png

    I also managed to grab the hourly prices in json format and display that in the dashboard via some lua code in a scene.

    At the moment I have built no logic around this, but it opens up posibilities for sure. In Sweden the electrical tarrifs will change from daily rates to being higher when demand is higher, perhaps then this can be used.

    All in all a fun DIY project that provides some useful data out of the electrical meter. 🙂

    Hardware

  • OpenLuup installation
    A ArcherS

    That did the trick! 🙂

    Alpine and Docker, need to look at that also later on. 🙂

    Thank's @CatmanV2 and @akbooer for your swift help!

    openLuup

  • Messaging after VERA decoupling
    A ArcherS

    @droy I use the excellent Telegram plugin by @therealdb in OpenLuup, it should work on the Vera also.

    Vera

  • Power monitoring options
    A ArcherS

    Like @Crille I have an electrical meter with a P1 data port. I use a DIY ESP8266 reader that I described some time ago in this thread. Since writing my post I have changed the software on the ESP, the version I am using now publishes the meter data approx every 10s as a json.

    A good wifi solution for the whole house if lacking a dataport is to use a Shelly 3EM. It is a three clamp meter that can measure all three incoming phases, assuming you have that. I have a few of these for measuring both single and multiple phase consumers, e.g. a two-phase water heater. It reports both energy, power, voltage and current per phase.
    The only downside I can see is that the clamps are a bit big, so some space is required to get them in place around the incoming power lines.

    Vera

  • Telegram Plug-in to send text, images and video notifications
    A ArcherS

    @therealdb thank you for the update!

    I have tried it and it does not quite work.
    The Lua code is executed ok (with the added comma as below), and I get a message in Telegram.
    The text is ok, however instead of getting an image I get "camsnapshot117439654.gif" (the number is different each time). The gif does not seem to contain anything.
    The url I call generates a .jpg file, I do not know why arrives as an empty .gif.

    Any ideas?

    (Btw, there is a small typo in the luup.call_action, the comma is missing after the VideoUrl line. It should be:)

    luup.call_action("urn:bochicchio-com:serviceId:VeraTelegram1", 
      "Send",
      {
         Text="This is a protected endpoint!",
         VideoUrl="https://media.giphy.com/media/3o84sIqsVAJNfWyjy8/giphy.gif",
         UrlParams="--digest -u daniel:secret" -- <== curl parameters!
      }, 515)
    

    //ArcherS

    Plugins

  • Remotec ZRC90
    A ArcherS

    I included a ZRC90 remote to Z-way. The inclusion was without problems, and in Z-way you can see what button is pressed.

    In OpenLuup I get the same variables as Catman has listed above. I tested and the two variables "zway_61-0-91-DS" and "zway_61-0-91-DS_LastUpdate" on the remote device are updated on key presses.

    Depending on what you press "zway_61-0-91-DS" get the following values:
    Btn 1 single press: 10
    Btn 2 single press: 20
    ...
    Btn 8 single press: 80

    Btn 1 double press: 13
    Btn 2 double press: 23
    ...
    Btn 8 double press: 83

    Btn 1 press&hold: 11
    Btn 2 press&hold: 21
    ...
    Btn 8 press&hold: 81

    Each time a button is pressed zway_61-0-91-DS_LastUpdate is also updated with a new time.

    So far so good, the above two parameters gives the possibility to capture the various key presses on the ZRC90.

    What does not work is that I get the same problem as I did for the Zwave.me wall controller, i.e. that the two variable are not updated in Reactor on key presses.
    @akbooer is this something that can be fixed?

    I am running OL 20.7.4b and Z-way plugin 20.5.12.
    (The key presses on the Zwave.me wall controller are still working.)

    //ArcherS

    openLuup

  • Grafana on Docker
    A ArcherS

    @akbooer I am on 7.3.1 and what I have done is to add links on the top of the pages to navigate between them.
    The link buttons work pretty well also on an iPad or even on the phone.

    //ArcherS

    Docker

  • Telegram Plug-in to send text, images and video notifications
    A ArcherS

    @therealdb now it works!

    For my Axis camera that seems to require Digest mode for curl authentication I use the following to send an image:

    luup.call_action("urn:bochicchio-com:serviceId:VeraTelegram1", 
      "Send",
      {
         Text = "Motion in garage", 
         ImageUrl = "http://192.168.x.x/jpg/image.jpg",
         UrlParams = "--digest -u daniel:secret"
      }, 515)
    

    Thanks for the addition to an already nice plugin!

    //ArcherS

    Plugins

  • Remotec ZRC90
    A ArcherS

    I updated to v20.7.12 and it works partially! 🙂

    "LastSceneTime" is updated every time you press a key, so that one works.

    "sl_CentralSceneUpdates" however stays "null" all the time.

    On the ZRC90 that I still have on the Vera there is a variable called "sl_CentralScene" but no variable called "sl_CentralSceneUpdates". I do not know if this could be the reason.

    As a side note the variables "zway_61-0-91-DS" and "zway_61-0-91-DS_LastUpdate" are now updated instantly in Reactor.
    So a functional workaround could be to use the "zway_61-0-91-DS" and "LastSceneTime" variables for capturing keys pressed in e.g. Reactor. I did a quick test and it seems to work.

    openLuup

  • Home water pressure sensor
    A ArcherS

    One solution that I can think of is to use MySensors. https://www.mysensors.org/
    This is a DIY community platform for making sensors etc. It is supported by Vera and OpenLuup, @akbooer is using it if I am not wrong.

    I found someone that had made a water pressure sensor that you perhaps could have a look at for inspiration: https://forum.mysensors.org/topic/8731/water-pressure-sensor/1?_=1590472756396&lang=en-US

    In short with MySensors you set up a gateway and then the sensors you want. Each node is an Arduino or similar. I used an USB connected gateway with my Vera, but an Ethernet connected gateway is needed for OpenLuup.

    I set it up a number of years ago on my VeraLite and it actually worked really well. I used it mainly for simple temperature sensors. I stopped using it because of that each time the Vera rebooted the gateway was lost, and I had to re-discover it on the Vera USB port. Quite a bit of hazzle since the Vera had a tendency to reboot quite a lot.

    If I get some time I may have a go at restarting MySensors now that I am using OpenLuup since it would be a good way to add dirt-cheap sensors to the system.

    Hardware
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Unsolved