-
....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:0Where 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
-
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.pngYellow triangles showing under Rule Sets
84b7c20d-a325-4101-b456-5aa4814a798f-image.pngYellow bar showing under Global Expressions
67f150eb-4c18-43ff-bd3b-b5bd181bc933-image.png 1a648901-450a-4b15-b558-c73a5b737b56-image.png -
-
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
-
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.
-
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 GithubWhy? 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.
-
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
-
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 -
Years after having installed and implemented the homekit integration to the vera through the verahomekitbridge which later became the homebridge:
rafale77/VeraHomeKitBridge rafale77/VeraHomeKitBridgeContribute 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... -
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.
-
Using Grafana with MSR any tips ?
-
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.
-
-
-
@cw-kid well, this is a bit OK, but hopefully we can just fix it quickly and move on...
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.
-
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.
-
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
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.
-
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.
-
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.
Is that in days then ?
Thanks
-
@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):
My goal is to migrate away from datamine2 plugin on Vera
-
@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.
-
@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:
And here is the Grafana chart query for the same device, for InfluxDB 1.8 and Grafana:
They look a little different because the first was set up for showing a 12 hour time scale, and the second is only 6.
-
@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")
-
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.