ashscott
(Ash)
December 18, 2018, 5:43pm
1
I’m looking fo a daylight LED strip light that I can control via HA to mimic the sun.
It’s for my Koi Carp growing on tank in our basement and I need to replicate outdoor conditions: light, temperature, pH.
Any suggestions as to what to use for the light and interface to HA?
I just came across this which looks interesting.
Is it likely to be Tasmota flashable like other Itead devices?
I’m really after an LED version of a fluorescent tube that’d dimmable though.
ashscott
(Ash)
December 21, 2018, 3:06pm
2
After much searching I came across this item on Amazon and with help from this now have a working dimmer.
What I need to be able to do now is have the dim level more or less follow the sun to try and roughly mimic outdoor light cycles.
The switch is defined thus:
- platform: mqtt
# 10.0.1.132
name: "Koi Quarantine Dimmer"
state_topic: "stat/koi_dimmer_1/POWER"
command_topic: "cmnd/koi_dimmer_1/POWER"
availability_topic: "tele/koi_dimmer_1/LWT"
brightness_state_topic: "stat/koi_dimmer_1/RESULT"
brightness_command_topic: "cmnd/koi_dimmer_1/Dimmer"
brightness_scale: 100
brightness_value_template: >
{% if value_json.Dimmer is defined %}
{{ value_json.Dimmer }}
{% else %}
{% if state_attr('light.koi_dimmer_1','brightness') == none %}
0
{% else %}
{{ state_attr('light.koi_dimmer_1','brightness') / 255 * 100 }}
{% endif %}
{% endif %}
qos: 1
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
retain: false
I’d appreciate any suggestions as to how to acomplish this, as it’s a bit beyond my capabilities at the moment.
Additionally, the light shows up as a toggle in HA front end but no slider for brightness. How do I set that up, mimicking what I see on the device webserver?