Home Assistant

It's a very good front-end addon. So many different things you can do that stock history graphs / sensors don't do.

Need to have a tweak of some of my existing graphs.
 
@PiKe What version of InfluxDB are you running?

Having a nightmare with mine i think after some recent updates, i only this morning noticed the addon was no longer running. Then when i attempted to start it manually it was moaning that something else was running on port 8086. Had a look at all my other addons to confirm nothing was also running on 8086. I think because everything runs in a containerised environment, netstat/lsof wasn't reporting a great deal - even for other addons that were working.

Decided to do a full reboot, and i can at least get InfluxDB to start now, but it seems to crash not long after starting up kapacitor.

Need to see if there's a way i can backup the database, and then uninstall/reinstall, or restore from snapshot.
 
I just run whatever version came down when I installed the docker on unraid, I'm going to guess its 2.0, if you know a console command to get the actual version I can try that.

I've had no issues with grafana and influxdb, been running well.
 
Yes of course, quick photo below.

This one has an Amazon Fire 10 inside. Made a wall mount that sits flush with the wall and has 5mm magnets in 8 or so places that clip the front frame to it really neatly (means I can easily pull out the tablet if I needed to). Reckon the cost of filament / printing was around £2-3 vs your Vidabox mount..... ;)

Happy to print one for you if you were doing it again...! Although for £100 a pop you could get yourself a decent 3d printer for a few of those!

I've kept the sensor on the right uncovered as I use that to display a screensaver of family photos by default and then when it detects someone moving in front of it, it flips to wall panel mode.

87uVHoo.jpg

Is this just a cover or does it also have power when 'docked'?
 
Looks like LIDL smart home stuff will be back in on Sunday.

Nice, do we know what sort of price? I could do with some cheap basic ones, as i've just bought some gosunds that i need to flash, they have energy monitoring and i'm going to steal @no idea what 's idea for putting a binary sensor on the dishwasher and washing machine to notify me once they have finished.
 
Using the latest firmware as far as I am aware.

Using a sensor template for the current usage (I found on the internet):

And a binary sensor for the status:
HTML:
 - platform: template
   sensors:
    dishwasher:
      friendly_name: Dishwasher
      value_template: >
        {{ states("sensor.dishwasher_watts") | float(0) > 3 }}
      delay_off: "00:03:00"
      icon_template: >
        {% if is_state("binary_sensor.dishwasher", "on") %}
          mdi:dishwasher
        {% else %}
          mdi:dishwasher-off
        {% endif %}


That current power is right, it was in the middle of heating up for the drying process, it doesn't draw that much power the whole time :)

Does this still work for you?

I'm getting an error with the "delay_off" option - seemingly it's an invalid option for a sensor template?
 
Just checked and yep working just fine. I'm on 2021.2.3 release.

Got passed the the delay_off error, seems the binary sensor was conflicting with a sensor, but now it's at the bottom of the config i'm getting this error:
Code:
Invalid config for [binary_sensor.template]: invalid template (TemplateSyntaxError:
 unexpected '}', expected ')') for dictionary value @ data['sensors']['dishwasher']['icon_template']. 
Got '{% if is_state("binary_sensor.dishwasher", "on" %}\n mdi:dishwasher\n{% else %}\n mdi:dishwasher-off\n{% endif %}\n'. (See ?, line ?).

Yet if i use the binary template example:
Code:
binary_sensor:
  - platform: template
    sensors:
      washing_machine:
        friendly_name: "Washing Machine"
        delay_off:
          minutes: 5
        value_template: >-
          {{ states('sensor.washing_machine_power')|float > 0 }}

Then it passes validation, so i'm thinking it's something to do with the icon template.
 
Got it to pass validation now, seems i missed a pesky bracket.

Need to learn to use the template editor more often, as it tends to point out these mistakes :D
 
Seems like LIDL here didn't get much stock or they put some out yesterday maybe. Not enough GU10s for me to get the full set I need so didn't bother. Just picked up an additional E27 bulb and the smart extension lead. No individual plugs in stock at all. I think I prefer the idea of the Gosund plugs with energy monitoring anyway. They look decent.
 
Yeah they're pretty good now.

It looks like they've locked them down the plugs so they can't be flashed OTA. Some people look to have flashed them by soldering onto the board, but i haven't really seen any good guides for those of us who haven't flashed non-OTA before.

However, the gosund plugs can still be added to HA via the Tuya integration, or local Tuya if you want the energy monitoring. It does require a bit of tinkering to get the energy monitoring set up though.

For reference:
To obtain the device key - https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md (you need to have a linux box with npm installed)
To add the attributes as a sensor: https://github.com/rospogrigio/localtuya

I had to do a further bit of tweaking as the Gosund plugs measure current in mA, whereas my Meross and Tplink ones measure in amps, so in order to keep them consistent i've converted mA to amps.

V4X2Tvr.png
 
Looks like TP-Link don't actually care about supporting local control on HS110 etc.

https://twitter.com/troyhunt/status/1364667723322519553

It's a problem with a lot of vendors. They've gotta weigh up a small part of their user base who like to push the boundaries of their product, versus making sure it's secure for the majority of the user base who would fall foul of security vulnerabilities.


On another note, i've finally built a prototype for my smart blinds:
ofpV6rr.gif

Excuse the wiring hanging down the side, once i'm satisfied that it's working as expected, then i can look at embedding the controller and routing the wires to somewhere much less visible.
 
Very nice @Semple

Just ordered some vertical blinds so will be wanting to make them controlled by HA.

Incredibly cheap too! Excluding power supplies and cabling (as those were cannibalised from spares) the microcontroller and servo are about £3 per blind.

Cabling's not expensive anyway, and i've got plenty of usb plugs from previous phones etc. So we're talking well under a fiver per blind. As the servo only hooks on the tilting mechanism, it also means no damage to the blind, so if i need/want to revert it back, i just put the tilt mechanism back.

Should be just as do-able on vertical blinds. Although if you want to fully open/close them (similar to horizontal raise/drop) then you'd need a bigger motor - something like a stepper motor to manage that as blinds can be quite heavy.

We most of the time just tilt the blinds rather than raising/dropping, so will leave that part to be manually controlled for now.
 
Back
Top Bottom