arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.96k stars 4.77k forks source link

Feature Request: BACnet Support #9890

Closed Langstein closed 3 years ago

Langstein commented 3 years ago

Have you looked for this feature in other issues and in the docs?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

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

Can you add a connection to support BACnet (ISO 16484-5) on Tasmota devices. BACnet is a powerful iot protocol to connect devices. There is a project to create BACnet devices. Take a look at: http://bacnet.sourceforge.net/ and also https://github.com/dasrue/esp8266-BACnet. I have some experiance in BACnet an can support the project in that part. But I'm not qualified enough to write it by my own. You can use https://sourceforge.net/projects/yetanotherbacnetexplorer/ as a easy to use BACnet client.

So, if you add a minimal BACnet Server connected to a example sensor I can try to add more BACnet Objects an functionalities like alarms, scheduling, trending and control.

Jason2866 commented 3 years ago

Tasmota uses mqtt for communication. Like many many IoT devices. Tasmota supports already a lot of sensors. What would be the benefit?

Langstein commented 3 years ago

The benefit is to use these devices not only in home automation systems, you can use it in building automation as well. The BACnet Standard is use from more than 1200 vendors (http://www.bacnet.org/VendorID/BACnet%20Vendor%20IDs.htm). Most of them only support complex control systems. The tasmota-devices can fill a gap of small sensors and actors. BACnet is a ISO BMS Standard since 2003 https://en.wikipedia.org/wiki/BACnet.

The handling to install tasmota devices is user friendly. To do an integration of MQTT devices in huge amounts is a lot of manual job. BACnet supports self explaining mechanisms (Who-is/I'am and so on). For sure we can use tasmota devices by using an MQTT to BACnet gateway, but this is one more unneeded source of error inside a Building management system. The ability to support BACnet direktly is much more efficient. So that is the reason I'm hoping tasmota will support in future.

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it hasn't any activity in last few weeks. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 3 years ago

This issue was automatically closed because of being stale. Feel free to open a new one if you still experience this problem.

RaphaelSquair commented 3 months ago

Hi I recently had a demand to implement this feature, anyone would be interested in joining me in co-develpment? and @Jason2866 could you give me support if I'd Tried to integrate this protocol in the smart metering feature on the scripting section?

barbudor commented 3 months ago

@RaphaelSquair it's not clear From the above discussions it looks like BACnet was considered as an alternative to MQTT : the protocole to connect a Tasmotized device to a backend (in addition to MQTT, Tasmota for example also support KNX)

If you are refering to Smart Meter in scripting, do you mean using BACnet on Tasmota to receive data from a BACnet device and send it over MQTT, something similar to existing support for MODBUS ?

Note that for anything regarding Scripting, you'd better talk to @gemu2015 who is Scripting's father

Jason2866 commented 3 months ago

Sorry, probably everyone has more knowledge in scripter code than me ;-)

RaphaelSquair commented 3 months ago

Hi @barbudor yes this is exactly what I want to do!!

You are right I should talk with @gemu2015 about this,

barbudor commented 3 months ago

@RaphaelSquair In htat case, I suggest openning a new discussion making it clear of a different objective that this thread Thanks