Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Artnet / Dmx für RGBW Wifi Bulbs #3280

Closed
mode2k opened this issue Jul 20, 2018 · 8 comments
Closed

Artnet / Dmx für RGBW Wifi Bulbs #3280

mode2k opened this issue Jul 20, 2018 · 8 comments

Comments

@mode2k
Copy link

mode2k commented Jul 20, 2018

Have you look for this feature in other issues and in the wiki?
I found this prototype for WS2801:
#395

Describe the solution you'd like
Ai-Thinker RGBW led (ESP8266 - my9291) as a artnet client to controll the 4 channels via dmx over artnet (udp)

@ascillato
Copy link
Contributor

Hi,

Why not using MQTT?

@mode2k
Copy link
Author

mode2k commented Jul 20, 2018

Because artnet is made for low overhead 25hz output to allow smooth fade. I do not think this will be possible with mqtt?!

@ascillato
Copy link
Contributor

ascillato commented Jul 20, 2018

Ok, So you are planning to do some effects with DMX.

That is very cool. I like that. 👍

But, please, be aware that Tasmota is an alternative firmware for Sonoff Devices that enables MQTT support so as to be used with home automation softwares for smart homes.

A Sonoff device with Tasmota can be controlled over MQTT, KNX, WEB, SERIAL or HTTP REST API.

So, what other feature of Tasmota do you need besides DMX? Because, for direct control of effects over UDP you will need all the power of the Esp8266 so as to not having glitches. Please, see in the Pull Request you have pointed, in the proposed change of the file sonoff.ino in line 2476, there is a block to stop all Tasmota processings and just use the ARTNET/DMX mode.

I ran some experiments with the CPU_LOAD in Tasmota and I found that with actual Tasmota, the Esp8266 have some extra free processing time but that time is not constant. It can be used for processing rules and several other stuffs that do not require Real Time Processing.

So, I think that adding DMX as a polling soubroutine will make some glitches in your effects. That's why I think that for something so specific as DMX Effects, you should try an specific firmware. I search and found a lot of them here in github.

If you find any way of implementing DMX in Tasmota, so it will have no glitches and all the other Tasmota features continue working, please share it.

@mode2k
Copy link
Author

mode2k commented Jul 20, 2018

I just tried to send 25 mqtt telegrams / second to a tasmota bulb. after 30 seconds it hangs (no answer to pings - needs a reboot)

I think i will work with mqtt and use the fade inside the bulbs. so i need less telegrams for smooth fades...

@ascillato
Copy link
Contributor

ascillato commented Jul 20, 2018

If you need a smooth fade, please read the wiki at commands. There is the Wakeup, Wakeupduration, fade and speed commands for that

@ascillato
Copy link
Contributor

Hi,

Have you solve your issue with these commands?

@arnaud-aub
Copy link

bonjour, où trouver le protocole MQTT pour SONOFF, et sur quelle pin faut-il brancher le MAX-485 ? Merci

@ascillato
Copy link
Contributor

ascillato commented Apr 15, 2021

@arnaud-aub

DMX is not supported in Tasmota. You should use another firmware specific for DMX.

DMX n'est pas pris en charge dans Tasmota. Vous devez utiliser un autre firmware spécifique pour DMX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants