-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Build with DALI support fails since v14.x #22214
Comments
Looks like the code was not migrated from ESP32 Arduino Core 2.x to the different sets of API calls available with 3.0. |
I'll see if I can fix this... |
Try latest dev. Not sure if it works as I don't know the initial timer frequency. I assume 160MHz but it may as well be a lot lower. Watch your console for possible error message
|
Thanks for the quick response and the fix. I have tried the change in commit 5d4230d:
|
Pls try again with latest dev. BTW as I don't own any DALI hardware whay would you suggest to have as a minimum for testing with Tasmota? |
Thanks for the second fix! In my configuration I use a “DALI click” (https://www.mikroe.com/dali-click) with an ESP32. This is connected in parallel with a Busch-Jaeger DALI dimmer (https://www.busch-jaeger.de/en/online-catalogue/detail/2CKA006599A2986) on the DALI bus, which also acts as power supply. The lights can be controlled with both DALI devices (= Tasmota and Busch-Jaeger) without any problems, but Tasmota does not recognize any changes made via the Busch-Jaeger dimmer, i.e. the information on the DALI bus is unfortunately not read at the moment... |
Thx for the feedback. I'll dive into dali and see if I can Tasmota make recognize dali changes. |
Sounds great! 👍 |
Latest dev branch contains a total rewrite of the Dali driver. It now supports ESP8266 too. It also decodes Dali 1 messages it receives like:
where Power and Dimmer show the broadcast address values. Give it a shot. |
- Add command ``DaliSend <address>|<address+256>,<command>`` to send command (address+256 is repeat) on DALI bus - Add command ``DaliQuery <address>|<address+256>,<command>`` to send command (address+256 is repeat) on DALI bus and wait up to DALI_TIMEOUT ms for response
@FeKn I updated DALI driver to be able to receive backward frames and show this to the user.
Pls report back if anything doesn't work as I envisionend. Pls test if the driver still supports your environment. |
PROBLEM DESCRIPTION
A clear and concise description of what the problem is.
Building Tasmota32 v14.x (v14.0, v14.1, v14.2 or master) with DALI support enabled in 'user_config_override.h' fails to compile with the following error:
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:Status 0
:weblog
to 4 and then, when you experience your issue, provide the output of the Console log:TO REPRODUCE
Steps to reproduce the behavior:
Build Tasmota32 v14.x (v14.0, v14.1, v14.2 or master) with DALI support enabled in 'user_config_override.h' (see below) via e.g. "platformio run --environment tasmota32" with VSCode or Gitpod.
Additions in 'user_config_override.h':
EXPECTED BEHAVIOUR
Successful build of Tasmota32 with DALI support (as in Tasmota32 v13.4 and earlier).
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
Build with the same 'user_config_override.h' is successful up to Tasmota32 v13.4, the error occurs since v14.0.
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: