Navigation

    Discussion Forum to share and further the development of home control and automation, independent of platforms.

    SmartHome Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Unsolved
    (Last Updated: January 21, 2022)
    • Syncing of updates...

      CatmanV2

      ....but not what you think, probably.

      I doubt there's an answer here to this, and it's about Iphone locator (sorry!)

      Hopefully the question is, at least, slightly interesting.

      Polling on the phone is currently set to 5 minutes and IPhone locator appears to update every 5 minutes as I also get an update in the OpenLuup log every 5 minutes.

      The 'problem' is that the Iphone locator (and therefore any conditions based upon a change in value) are happening 4 minutes and some seconds after the phone polls and updates its position. So effectively the phone is moving for nearly 10 minutes before any notification takes place. Which is a bit slow for my desired application.

      As an example:

      2022-05-05 17:27:08.244 luup.variable_set:: 55.urn:upnp-org:serviceId:IPhoneLocator1.MsgText2 was: 28.35 Km @ 0.00 Km/h on 2022-05-05 17:17 now: 28.35 Km @ 0.00 Km/h on 2022-05-05 17:22 #hooks:0 2022-05-05 17:32:12.340 luup.variable_set:: 55.urn:upnp-org:serviceId:IPhoneLocator1.MsgText2 was: 28.35 Km @ 0.00 Km/h on 2022-05-05 17:22 now: 27.77 Km @ 6.92 Km/h on 2022-05-05 17:27 #hooks:0

      Where you can see that the phone must have updated its location between 17:27:08.244 and 17:28:00.000

      Anyone got an bright ideas how I can reduce the discrepency?

      Cheers!

      C

      Software
    • Strange MSR behaviours after NAS reboots

      Snowman

      I am running HA, MSR and ZWavejs2MQTT on a Synology NAS (Docker). When the NAS reboots (after a power outage for example), I see errors (under Status), yellow triangles in front of Rule Sets and yellow bars in front of Global Expressions. See images below.

      To give you some context, in some cases MSR writes statuses to HA Helpers. In order cases, MSR just can't seem to find the referenced entities.

      Also, note the bevahior under Global Expressions (images below). The one with the yellow bar says, "Invalid reference to member attributes of null". If I click the Try this expression button, the Last value will refresh accordingly and the yellow bar disappears.

      Interestingly, everything seems to be working like it should even if I don't do anything. Which is weird.

      This behaviour does not happen when the MSR container is stopped and restarted manually.

      Anybody experienced this? Thanks

      Errors showing under Status
      16581e96-9f7d-4107-a591-6c0755349a73-image.png

      Yellow triangles showing under Rule Sets
      84b7c20d-a325-4101-b456-5aa4814a798f-image.png

      Yellow bar showing under Global Expressions
      67f150eb-4c18-43ff-bd3b-b5bd181bc933-image.png 1a648901-450a-4b15-b558-c73a5b737b56-image.png

      Software
    • Any interest in a Subcategory for Homebridge?

      parkerc

      Being an iPad/iPhone user, I use Homebridge for a number of things. Although it runs completely independently from my main Vera home set up.

      Is anyone else using Homebridge and if there is enough interest would a subcategory be of use ?

      Software
    • ezmqtt switch control questions/issues

      E

      Hi @toggledbits,

      i tried the ezmqtt today, i have some issues most likely that i'm doing something wrong.

      i have on my ezlo hub 3 switches, 1 dimmer and 1 motion sensor

      i can control the dimmer via ezmqtt/set/device/<device-id>/item/<item-name>
      but i can't control the switches.

      i receive on ezmqtt/tele/device/61e8937e124c35129921171d/item/switch payload true or false depending on the state of the switch, but when i send on ezmqtt/set/device/61e8937e124c35129921171d/item/switch payload true or false nothing happens, its the same for all switches.

      what i'm doing wrong?

      Cheers

      Software
    • Using Grafana with MSR any tips ?

      cw-kid

      Hi

      Hope I am allowed to post this here?

      I can't figure out how to correctly show device battery levels from the Vera Plus via MSR in Granfana.

      These devices don't have the battery levels that its displaying in Granfana. I've tried messing about with various settings like units and decimals but its still not right.

      dc0736f2-3821-436c-97ea-09eddb397346-image.png

      Software
    • New toys to play with

      toggledbits

      Everyone,

      As a side project, building on some deep innards borrowed from Reactor, I have released two new projects (unrelated to Reactor). Both are published on npmjs (for installation via npm), and on GitHub.

      ezmqtt — a standalone app that acts as a conduit between Ezlo hubs and MQTT. It's published on npmjs.com and on Github. node-red-contrib-ezlo — Node-RED nodes (installable package) for Ezlo hubs. It's published in the Node-RED Nodes Library, at npmjs.com, and on Github

      Why? Because choices are a good thing.

      There are docker containers available for ezmqtt, but I haven't finished the work there, so they may not be quite ready for prime time; but feel free to test/play if you want.

      Software
    • Vera Alexa TTS slowwwww (still)

      CatmanV2

      I know we talked about this a while back, but wondered if anyone has any ideas at all? It's still a 5-10 second pause between initiating a TTS event and getting the output.

      This is using either a direct Luup call or the most excellent VeraTTS plug in.

      I noticed that executing from reactor using the little 'run' icon, I'm getting an occasional '0 timeout undefined' error (even though the event eventually happens

      Any thoughts, anyone?

      C

      Software
    • Energy and data collection and graphs

      stanp

      Full disclosure.

      I am from [HundredGraphs.com](link url). We are the data aggregation service for smart homes. So far we have plugins for Vera and SmartThings and we are looking to move in onto new hubs.

      What would you be interested in?

      Vera Energy graph
      hg energy.jpg

      Software
    • Homekit

      rafale77

      Years after having installed and implemented the homekit integration to the vera through the verahomekitbridge which later became the homebridge:

      rafale77/VeraHomeKitBridge rafale77/VeraHomeKitBridge

      Contribute to rafale77/VeraHomeKitBridge development by creating an account on GitHub.

      (I just implemented a few updates I discovered were outdated for the garage door which were meant for older vera firmwares)

      I just recently came to the realization that I can do a lot more with Hey Siri with devices I already own. I have therefore a renewed interest and have been configuring my homekit installation to match my alexa capability. Unfortunately a lot of things are still pretty far behind in terms of integration but... I found homebridge and all its plugins. I just wanted to share the alternative I pursued: Home Assistant. I implemented the Homekit component for it and have been able to bridge Sonos and Harmony while my openLuup devices are still bridged into homekit through the VeraHomekitBridge. If you already have home assistant, homebridge is potentially redundant...
      The probability of taking down alexa and its cloud dependency completely is increasing...

      Software
    • zwave-js

      rafale77

      For those who are familiar with node-red, I found interesting news from the Home Assistant site that the openzwave project has gone stale and that they have shifted their focus on integrating zwave-js! It spiked my interest in spite of currently not seeing any need since z-way has been rock solid in combination with openluup but it might be of interest for others that there is yet another open source z-wave platform, this time written in javascript and running on a nodejs server... yes the same platform @toggledbits has chosen for "super reactor". I am already running a number of smaller nodejs application in my setup so it isn't quite new and yes there is also mqtt and node red bindings coming with it.

      Software
    • Reactor save button

      CatmanV2

      Morning folks

      Not sure if I'm imagining it, but I used to have a 'Save' button on the activities tab of Reactor? Right now if I add or edit any activity, I have to go to another tab, and confirm the 'Unsaved Changes' dialogue.

      TIA

      C

      Software
    For those who registered but didn't received the confirmation email, please send an email to support@smarthome.community with the email you used

    Using Grafana with MSR any tips ?

    Software
    4
    13
    115
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cw-kid
      cw-kid last edited by

      Hi

      Hope I am allowed to post this here?

      I can't figure out how to correctly show device battery levels from the Vera Plus via MSR in Granfana.

      These devices don't have the battery levels that its displaying in Granfana. I've tried messing about with various settings like units and decimals but its still not right.

      dc0736f2-3821-436c-97ea-09eddb397346-image.png

      1 Reply Last reply Reply Quote 0
      • cw-kid
        cw-kid last edited by cw-kid

        As a test, just added a trigger in a new rule in MSR and its MSR that's doing it, "The MSR Scale"

        1 = 100 apparently.

        22de32a5-3213-41e5-b591-8b2b74ed501d-image.png

        How to scale these up then in Grafana ?

        toggledbits 1 Reply Last reply Reply Quote 0
        • cw-kid
          cw-kid last edited by

          Temperature Sensors look OK

          083729c4-9e6c-49fc-9cfb-c8240b9bdb72-image.png

          1 Reply Last reply Reply Quote 0
          • toggledbits
            toggledbits @cw-kid last edited by

            @cw-kid well, this is a bit OK, but hopefully we can just fix it quickly and move on...

            1fad2b85-ff9d-418b-adfb-3f273b1a6f71-image.png

            Where you select the field value, there's a "+" sign next to the current field value and function, and if you click that, you should be able to choose "Math" and just multiply the value by 100.

            Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

            cw-kid 2 Replies Last reply Reply Quote 1
            • cw-kid
              cw-kid @toggledbits last edited by cw-kid

              @toggledbits

              Thanks I did try math and * 100 but it kept changing itself back to / 100 instead.

              I will have another go.

              EDIT:

              Got it now, I was tabbing out of that field you have to hit enter instead.

              3566dadb-32da-4188-8a64-3005813800bd-image.png

              1 Reply Last reply Reply Quote 1
              • cw-kid
                cw-kid @toggledbits last edited by cw-kid

                @toggledbits

                I was looking to use a Thermostat's Current SetPoint value in a panel.

                I tried adding these two capabilities so far:

                hvac_control and hvac_heating_unit

                f98027b1-fbfc-4395-aeed-5644f89eb992-image.png

                070cdbbb-aa07-4544-9410-8cb230c92fa9-image.png

                SetPoint looks to be under the hvac_heating_unit one.

                I then tried removing the hvac_control capability from the reactor.yaml file, restarting MSR and refreshing Grafana but it doesn't remove it from that drop down menu, so don't know how to get rid of them.

                69cab13d-06d8-47c0-b2d3-f23040036fdf-image.png

                1 Reply Last reply Reply Quote 0
                • Moved from Multi-System Reactor by  toggledbits toggledbits 
                • toggledbits
                  toggledbits last edited by toggledbits

                  They are displayed on the menu as long as InfluxDB has data in the database. You need to purge all measurements for all entities related to a capability from the database to remove the capability from the menu. This is a good opportunity to mention that you should check your retention policy for the bucket/database in InfluxDB.

                  Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                  cw-kid tunnus 2 Replies Last reply Reply Quote 0
                  • cw-kid
                    cw-kid @toggledbits last edited by

                    @toggledbits

                    I don't know how to do any of that in InfluxDB I will need to read about it.

                    I can see you have a setting for it in your reactor.yaml file however.

                    eae77db6-9c44-4d40-a062-858e8bb02a36-image.png

                    Is that in days then ?

                    Thanks

                    toggledbits 1 Reply Last reply Reply Quote 0
                    • tunnus
                      tunnus @toggledbits last edited by tunnus

                      @toggledbits / @cw-kid, sorry to hijack this a bit, but staying closely on the topic.

                      Running MSR (22004) on Synology Docker and have setup InfluxFeed for InfluxDB (2.1.1), and now it seems to work fine despite yaml giving me headache with incorrect intendation... Capability export is default, so no modifications or filtering done to that in reactor.yaml.

                      I've also setup Grafana with InfluxDB as a data source (using Flux as query language) and tested the connection, which founds all 3 buckets I have (one for MSR and two default ones).

                      I don't have any previous experience on Grafana or InfluxDB, so would appreciate if you guys could give some examples of basic queries to get started and to verify there's really data stored... E.g. I have these kind of entities (Vera Plus):

                      Screenshot 2022-01-21 at 14.14.54.png Screenshot 2022-01-21 at 14.14.24.png

                      My goal is to migrate away from datamine2 plugin on Vera

                      Using MSR on Docker (Synology NAS), InfluxDB & Grafana, VeraPlus (7.32), Netatmo, dataMine2, Sonos

                      toggledbits 1 Reply Last reply Reply Quote 0
                      • toggledbits
                        toggledbits @cw-kid last edited by

                        @cw-kid said in Using Grafana with MSR any tips ?:

                        Is that in days then ?

                        No, it's the name of a retention policy you've created in InfluxDB. I'm not an expert on that package, but there are a lot of resources for it and everything I needed to figure out to get started was in the docs and wikis.

                        Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                        1 Reply Last reply Reply Quote 0
                        • toggledbits
                          toggledbits @tunnus last edited by toggledbits

                          @tunnus said in Using Grafana with MSR any tips ?:

                          I don't have any previous experience on Grafana or InfluxDB, so would appreciate if you guys could give some examples of basic queries

                          I'm not an expert on either InfluxDB or Grafana (and won't be), and I struggled to get going as well, but here are the queries that produced the graphs I posted in another thread

                          This is the native InfluxDB 2.x graphing module's query/setup, which produced the blue/purple chart:

                          d52e4408-3e8f-4ced-96fe-9bebf796f811-image.png

                          And here is the Grafana chart query for the same device, for InfluxDB 1.8 and Grafana:

                          b93a6fd9-3838-401a-929e-54814c2b73e3-image.png

                          They look a little different because the first was set up for showing a 12 hour time scale, and the second is only 6.

                          Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                          tunnus 1 Reply Last reply Reply Quote 1
                          • tunnus
                            tunnus @toggledbits last edited by

                            @toggledbits thanks, I'm using Flux instead of SQL, but managed to get something out:

                            from(bucket: "msr-data")
                              |> range(start: -1d)
                              |> filter(fn: (r) => r["_measurement"] == "temperature_sensor")
                              |> filter(fn: (r) => r["_field"] == "value")
                              |> filter(fn: (r) => r["controller"] == "vera")
                              |> yield(name: "_results")
                            

                            Using MSR on Docker (Synology NAS), InfluxDB & Grafana, VeraPlus (7.32), Netatmo, dataMine2, Sonos

                            1 Reply Last reply Reply Quote 0
                            • therealdb
                              therealdb last edited by therealdb

                              I’ve built a migrator from datamine format to the format used by MSR in influxdb. If anyone needs it, I could think of releasing it.
                              I’ve moved 4 years worth of data this way and it’s working beautifully, since I used to run queries with my own engine and now they’re running inside influxdb, that’s very quick, since it’s built for that purpose.

                              --
                              Vera+MQTT+HomeAssistant+my own framework all orchestrated via MSR
                              70+ Zwave Devices, a bunch of ZigBee light strips and a lot of code

                              My Luup Plug-ins => https://github.com/dbochicchio/vera

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Welcome. If you’d like to participate in the discussion, rather than just read, then you can join the forum. As a member, you can interact with others here to share your experience and ask the questions you need answered.

                              Powered by NodeBB | Contributors
                              Hosted freely by PointPub Media Communications Inc. | Contact us