ascillato / Tasmota_KNX

Alternative Firmware for 'ESP8266, ESP8285 and ESP32 based devices' like Itead Sonoff, Shelly or NodeMCU, with Web, Timers, OTA, MQTT, KNX, Rules and Sensors' Support, to be used on Smart Home Systems. Written for PlatformIO. Documentation at
http://tasmota.com
GNU General Public License v3.0
44 stars 11 forks source link

No KNX TX/RX/SCENE available when compiled with scripting enabled instead of rules #580

Closed mwerski closed 3 years ago

mwerski commented 3 years ago

PROBLEM DESCRIPTION

As mentioned in the subject. Probably caused by multiple "#ifdef USE_RULES" directives in xdrv_11_knx.ino. As scripting and rules exclude each other, it is not possible to use KNX commands from scripts (for example to send sensor values).

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

- [ ] If using rules, provide the output of this command: `Backlog Rule1; Rule2; Rule3`:
```lua
  Rules output here:
- [ ] Set `weblog` to 4 and then, when you experience your issue, provide the output of the Console log:
```lua
  Console output here:

TO REPRODUCE

Enable scripting instead of rules and build the firmware.

EXPECTED BEHAVIOUR

KNX TX/RX/SCENE should also be available when using scripts, so that custom KNX commands can be executed.

SCREENSHOTS

If applicable, add screenshots to help explain your problem.

ADDITIONAL CONTEXT

Add any other context about the problem here.

(Please, remember to close the issue when the problem has been addressed)

ascillato commented 3 years ago

Hi, yes, as you have discovered, there is no support for KNX if using Scripting.

ascillato commented 3 years ago

Please, add your request to Ideas in Discussions of Tasmota ( https://github.com/arendst/Tasmota/discussions )

ascillato commented 3 years ago

Please, add your request in the main Tasmota Repository, as in there it will have a wider audience than in my fork. Your request is good.

ascillato commented 3 years ago

Thanks for posting this in Tasmota main repository. Very appreciated.