I was wondering if there was a way to define a “sensor filter” to where if it sees a unit_of_measurement as “C” to then globally convert the data to “F”? Not sure if i should write a sensor to this?
The wireless tags have a limit on the length of the URL + json, so I’d really prefer to do any modifications on home assistant. I’d also love to figure out how to graph the temperature AND humidity on the same “state”…if possible
This would work…except I’m having the check_config script throw an error. I’ll have to look into the template further to figure out how to format this correctly. Thank you.
My config throws an error with the degree symbol despite me seeing it in other examples. It could be that.
Granted, I didn’t actually check the formatting. There is a template page under the dev options in the front end that you can use to confirm the template syntax and results.
I just bought a couple of these wireless tags. Any chance you could elaborate on how you are getting data into HA? I know enough to know I don’t know anything but still want to play around. Any help to get me started would be appreciated.
So do I create an KumoApp for that? I afraid I’m missing even the basics here. With the Philips I setup a REST sensor with a resource pointing to my philips hue hub. What you’re suggesting is I push data from the Wireless Tag Manager? Again through what can you give me an example?
No kumo apps. In the web or phone app, under each sensor, there’s a right arrow. Click that for more options. Click URL calling. Check the first box, it will let you enter a URL. Click the right arrow again, select post and copy that data I have. Click anywhere else to close. Check the box “this URL uses private IP address”. Next update you should have a sensor in ha.
Hmm. Don’t see that option on the iPhone App. I can get into each sensor and see the options to control it but no URL calling. I’ll check the web app when I get home. Thanks for the info.
Great I see it in the web app. I have a password for HA do I need to include that in the URL? I am assuming so. Is there any reference for URL calls to HA that might help with this? I’ve done what you’ve suggested but I’m not getting any sensors showing up.
I’ll try a binary sensor tonight. This seems pretty reasonable. I can get all data and tags this way. Seems to try to post info about my WeMo switches which as far as I know I did not link. Although in iOS Wireless app something flashes on about WeMo when I start it up.
As far as the password in the URL - the sensors don’t support it. You would have to have the IP of the tag manager listed under trusted_networks so that it bypasses authentication. Also make sure the check box is checked for “private IP address”. This will have the tag manager call the URL vs the website. POST is required.
I am pretty against having to call something on the internet to get information on a device which lives on my local network. The developers of the wireless tags don’t give any real option otherwise so it’s what works for me.
Everything is pretty instantaneous. As soon as I see the light flash on my PIR motion detector HA is turning my lights on. For things like my temperature updates they don’t immediately show - only when the actual tag contacts the manager to send an update…but I rather that. I don’t see a point in querying a website every 2 minutes when my tags only update every 10 minutes.
Another handy trick I use is to set my phone to a DHCP reservation (in the router) so that it always receives say 192.168.1.80. Using that config your phone will not prompt for a password when on your wifi.
Why not leave it running HTTP and just put a nginx proxy in front for internet facing purposes? I only use a VPN for remote access, so I hadn’t bothered setting up SSL