This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Best way import IoT sensor data into W4K?
#1
Hi!

What would be the preferred method of getting data from various IoT sensors (like Raspberry Pi Pico W or ESP32) into Wiser for KNX? I'm open for suggestion both using software only (for example http get or post) or some kind of physical hardware interface that can be attached to a dedicated "IoT importer device" with wired access to Wiser for KNX.

Being most familiar with web development, I am currently using an .lp file in my /user/ catalog on Wiser for KNX that the IoT-devices occasionally request passing sensor readings in the url via get, like "[ip...]/user/import.lp?temperature=20.1&humidity=45". In import.lp I pass the variables on to various group addresses in W4K.

Is this an acceptable solution, or is there a smarter (faster) way that puts minimum stress on the CPU? New data flows in every minute or so.

Thanks!

Robert
Reply
#2
HTTP requests are ok for small amounts of data. Another option is to use MQTT but it won't make much difference in your use case.
Reply
#3
(09.10.2023, 06:03)admin Wrote: HTTP requests are ok for small amounts of data. Another option is to use MQTT but it won't make much difference in your use case.

Ok... can the method of importing via the .lp-file be improved or is this "as good as it gets"?

Thanks again,
Robert
Reply


Forum Jump: