TechSmartSolutions / 0-10v-lighting-controller-for-Home-Assistant

The purpose of this repo is to explain how you can build 0-10v controllers that can be used for controlling lighting and other compatible devices (such as certain dehumidifiers and air conditioners) using an ESP, ESPhome and Home Assistant.
16 stars 2 forks source link

PWM to 0-10v analog converters need 24v input #4

Open ledgardeneruk opened 1 year ago

ledgardeneruk commented 1 year ago

As above, it works with 12v but it's way off on the ratios. With 24v it's as good as I mentioned in a post, about 15% accuracy across the range and no wander after 12 hours so far. Im going to start an automation dimming it up and down etc so see if it starts to go off track and needs the pot adjusting.

In your diagram it shows 12-30v. It needs to be 24v min. Will try and test with 30v soon also.

TechSmartSolutions commented 1 year ago

If you really think that the voltage will “wander” over time, you could track it with one of these https://www.instructables.com/Arduino-Voltage-Sensor-0-25V/

TechSmartSolutions commented 1 year ago

I'm going to get myself a couple of these converters with a couple voltage sensors. I will setup a automation and run it for a month or two and see what happens. I'll also test it out with 12 and 24v power supplies and see what kind of results I see and let you know.

ledgardeneruk commented 1 year ago

I picked up a couple of these about a month ago and just arrived from AliExpress. £6ish each.

No idea if they are Zigbee or WiFi on the box or manual but I did order Wi-Fi.

I do have a Zigbee 3.0 dongle for the Pi if needed though. Although I'm using Unraid in my server as my main Home Assistant can use Home Assistant Remote which creates a master and slave type setup so I could have 3+ houses or linked etc under one instance. It's good for redundancy and also spreading Zigbee in my case as Pi is closer to LEDs.

These are meant to give out a true 0-10v like the DAC. Designed for exactly what we need.

image

If you look at the tiny manual below you will see it's for dimming drivers.

image

TechSmartSolutions commented 1 year ago

Be sure to give us an update how it goes configuring it.

On Tue, Feb 21, 2023 at 5:46 AM ledgardeneruk @.***> wrote:

I picked up a couple of these about a month ago and just arrived from AliExpress. £6ish each.

No idea if they are Zigbee or WiFi on the box or manual but I did order Wi-Fi.

I do have a Zigbee 3.0 dongle for the Pi if needed though. Although I'm using Unraid in my server as my main Home Assistant can use Home Assistant Remote which creates a master and slave type setup so I could have 3+ houses or linked etc under one instance. It's good for redundancy and also spreading Zigbee in my case as Pi is closer to LEDs.

These are meant to give out a true 0-10v like the DAC. Designed for exactly what we need.

[image: image] https://user-images.githubusercontent.com/45951096/220348191-bc2eb255-3847-447e-943d-8c2afa5157b9.jpeg

If you look at the tiny manual below you will see it's for dimming drivers.

[image: image] https://user-images.githubusercontent.com/45951096/220348261-9997a72d-41ff-485b-9ff2-c4cbc14bbe6e.jpeg

— Reply to this email directly, view it on GitHub https://github.com/TechSmartSolutions/0-10v-lighting-controller-for-Home-Assistant/issues/4#issuecomment-1438421262, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5M4K45EZXPM2S42H5BBRM3WYS2IXANCNFSM6AAAAAAU6HQITI . You are receiving this because you commented.Message ID: <TechSmartSolutions/0-10v-lighting-controller-for-Home-Assistant/issues/4/1438421262 @github.com>

ledgardeneruk commented 1 year ago

No idea what's inside it till I Google but think it's Zigbee.

Edit: just googled it and it's a eWeLight Model ZYZB010 and supported by most! https://zigbee.blakadder.com/eWeLight_ZYZB010.html

Got some photos of the insides, not much really:

image

Suspect that this is the Zigbee module image

image

image

image

image

mkozik13 commented 1 year ago

Be sure to give us an update how it goes configuring it.

No doubt - Like that it is all self contained including the power supply!