![The Automation Gym](/img/default-banner.jpg)
- 20
- 47 112
The Automation Gym
Registrace 21. 01. 2023
I love what I do and enjoy sharing it with fellow geeks on the internet ;)
Converting Modbus RTU(485) to TCP/IP with Waveshare
In this video I am using the Waveshare RS485 to RJ45 Ethernet converter and I am integrating it with the Loxone Miniserver to use a hard wired Modbus RTU CT Clamp Meter OB115 over the LAN.
Waveshare:
www.waveshare.com/rs485-to-eth-b.htm
Meter:
owen-brothers.com/ob115mod-single-phase-ct-multifunction-meter.html
Miniserver:
shop.loxone.com/enuk/miniserver.html
Let me know in the comments if I've missed something.
Waveshare:
www.waveshare.com/rs485-to-eth-b.htm
Meter:
owen-brothers.com/ob115mod-single-phase-ct-multifunction-meter.html
Miniserver:
shop.loxone.com/enuk/miniserver.html
Let me know in the comments if I've missed something.
zhlédnutí: 804
Video
Addressable LED with Loxone & ESP32?(£42.77)
zhlédnutí 2,5KPřed 14 dny
In this video I go over the integration of WLED into Loxone and how to flash the WLED software on an ESP32 micro processor. What I'm using in this video: ESP32 Wroom - www.amazon.co.uk/ESP-32S-Development-Bluetooth-Microcontroller-ESP-WROOM-32/dp/B08DR5T897/ref=sr_1_3?sr=8-3 Addressable LED WS2818B - www.amazon.co.uk/dp/B088B9QWHT?ref=cm_sw_r_cso_wa_apan_dp_7X8VH2XHWQR0BX5Y7PHK&ref_=cm_sw_r_cso...
The Loxone Modbus Extension - without a Template
zhlédnutí 1,7KPřed měsícem
Modbus RTU is a great protocol , however a lot of people get turned down if they don't find a template at www.library.loxone.com In the video I go through how to Connect RS485 ports, baud rate, parity, stop bits and most importantly how to configure the Modbus Registers in Loxone Config. Loxone Hardware: shop.loxone.com/enen/miniserver.html shop.loxone.com/enen/modbus-extension.html 100A CT Cla...
Are You Maximizing Your Loxone RGBW 24V Dimmer?
zhlédnutí 2,6KPřed 2 měsíci
In this video I wanted to showcase a few different use cases and examples of the Loxone RGBW 24V Dimmer - Tree or Air/Compact or Din Rail. The hardware used: RGBW 24V Dimmer Air - shop.loxone.com/enuk/rgbw-24v-dimmer-air.html Loxone Miniserver - shop.loxone.com/enuk/miniserver.html 24V Mean Well PSU - shop.loxone.com/enuk/led-psu-24v-25a.html 12V/24V Lock/Release - amzn.to/45BEEzz 12/24V E27 Di...
How To Connect To The Loxone Miniserver
zhlédnutí 9KPřed 10 měsíci
A short video showing all of the steps required on how to wire and connect to the Loxone Miniserver - from the power cable all the way to Loxone Config. What I've used in the video: Panel - amzn.to/46DC0ci RCBO - amzn.to/3M3uL4Y Terminal Blocks - shop.loxone.com/enuk/accessories.html/?c=accessories-terminations-fuses Power Supply 24V - shop.loxone.com/enuk/psu-24v13a.html Miniserver - shop.loxo...
Integrate a Camera in the Loxone App
zhlédnutí 5KPřed 11 měsíci
Blogs, shorts, code snippets and more coming soon: theautoamtiongym.com Cam2Web Software: www.codeproject.com/Articles/1199725/cam2web-Streaming-Camera-to-Web-as-MJPEG-Stream Let me know what you'd like to see next down in the comments
Loxone Virtual Output with Authentication Key
zhlédnutí 3,4KPřed rokem
Blogs, shorts, code snippets and more coming soon: theautoamtiongym.com Rapid API: rapidapi.com/hub More information on HTTP Methods: www.w3schools.com/tags/ref_httpmethods.asp Let me know what you'd like to see next down in the comments
How to use Virtual HTTP Inputs - Bitcoin Price Example
zhlédnutí 1,3KPřed rokem
How to use Virtual HTTP Inputs - Bitcoin Price Example
Boost the Loxone API Connector with Python
zhlédnutí 1,5KPřed rokem
Boost the Loxone API Connector with Python
Display Miniserver Values on Your Website(Loxone API)
zhlédnutí 2KPřed rokem
Display Miniserver Values on Your Website(Loxone API)
Aren't you working with loxone? Is there a way to contact you?
Hi, this channel is my own side hobby. If you'd pop a request at www.theautomationgym.com . I can reach out :)
@@theautomationgym there is no contact info in the website :(
Very interesting video, thanks! I was wondering how you add more than 1 device. I understand your device was preset to address #1, what if your other device has the same? I am doing my first Loxone project and are about to start adding 3 modbus meters to my modbus extension and wonder if you have some advice!
Thanks, on most devices you can set the ID/address either manually or via some kind of interface. So the next one will be 2, then 3 etc up to 32 devices. All of them are wired in a daisy chain with a resistor at the end of the line.
how is the loxone server understand communication with this device, is it some kind of standard protocole so we can add this device from config as modbus server ? And can we threat this device worth 20$ equivalent to loxone modbus extention 250$? :O
All Miniserver models support Modbus TCP natively. I wouldn't necessarily replace the Modbus Extension if I have the possibility of wiring it as it's more reliable than LAN connection.
which was the microphone? Do you have a aaz link?
I have a few of these: amzn.eu/d/bextM9C
Forefox has a plugin for wrbserial, but it rarely works as it should. I just use cli esptool.
Nice share! I wonder if any custom PCBs may help? We're open to sponsor free service for a potential collab! (PCBWay zoey)
Super Video! Danke
Bitte 😉
Mustard on the beat 😂
Great Video Information. Thank You!
You're welcome, much appreciated 👊🏼
Nice work Niko, perfect tutorial.
Cheers Amroy, much appreciated 😉
Really useful content 👍🏼
Thank you for this tutorial! i have been wondering if this could be done with Loxone. Now to try and figure out how to integrate this with the motion sensors so that each tread of stairs will turn on and off in sequence. Would it require multiple ESP32 or could it be done with a single board?
Glad you liked it! You can do it with just white channels on RGBW Dimmers or use 1 ESP32 and create a custom mode with segments - every step being a section of lets say 30 LEDs. Then use 2 pinhole 12/24v motion sensors 1 on each end of the steps. The rest is the config - sequence controller.
Solid tutorial, good work
Thanks bud 🙏🏼
In my opinion, it's better to use the WT32 module and connect it via Ethernet. I'm currently in the process of creating a PCB for a TH35 rail enclosure. If the tests are successful, I will gladly share the project. It's also worth adding a logic level converter because the GPIO provides 3.3V, so there might be issues with properly driving the LEDs over longer distances. It's also important to remember that digital LEDs consume a relatively large amount of power in standby mode, so it's worth cutting off the power via a relay, which is an option in WLED.
It definitely makes sense to use the WT32 if you can get a cable there. It'll be interesting to see the project when it's finished 💪🏼 thanks for sharing
I hope your tests go well and looking forward to seeing the outcome.
Congrats! Very good explanation! You tried with addresable rgbw led strip too?
Thank you 🙏🏼 The RGBW or RGBCCT is pretty much the same process, just a different LED strip. Have a look here: kno.wled.ge/basics/compatible-led-strips/
Very nice work!
Thanks 😉
Thank you very much for the video.
Thank you 🙏🏼 much appreciated
can you use Modbus rs light switch? as they are way cheaper?
Yes, but it does depend on the switch and how configurable the protocol is
I've used Virtual Output a lot in my project. I now wanted to use it for the Nanoleaf Shapes in my home. I need to fill the HTTP Body for ON string. In the documentation it says I can use \1 \2 \3 \4 to get bytes from the values sent. That would be wonderful so I can use that for the RGBW values. But it does not seem to work. Any clues?
Hmm, sounds interesting. I've never seen the Nanoleaf Shapes but I've done something similar with other RGBWs. Compiled the required string in the formula block or text generator and forward it as a \v directly
Hi Nico, would you be able to help me read data from my Chlorinator controller? It has RS232 communication and I have the serial communication instruction from the producer. I have searched everywhere to find some examples but I am totally lost. Thank you.
Hi, I can try 😁 What is the make and model of the Chlorinator?
Nico, Thank you for the video! If you have several cameras connected to an NVR do you have to separate them into individual function blocks, or can they all be on one function block? Does the processing speed of the PC or raspberry matter for speed of transfer of video?
You're welcome 😉 Each camera needs a separate function block, unless you can get the stream from the NVR directly in MJPEG over basic auth/basic digest. Processing speed should be just enough to stream in the selected quality so not much
@@theautomationgym Thank you Niko! I'm new to Loxone and trying to learn as much as possible. Your channel is very helpful. Please keep it up.
Thanks for sharing. For long-term accurate readings of total consumption, I would probably use the registers from the "Total energy accumulator" section instead. Active Power becomes less accurate with lower poll frequency because it does not know when, if, or how consumption changed between readings. Also, there is a cheaper option: you can connect a pulse consumption meter to a digital input. It can be two or three times cheaper, and you don't need a Modbus extension. The downside is that you need a digital input for each meter, and you can only read consumption.
100% agree, do you have any specific Pulse meters in mind? The OB115 also supports pulse metering on the S0, but definitely not the cheapest..
How is this helpful tho i don't understand?
On the hairdryer is not important - on a grid connection however you can do load shedding, bills, solar diversion etc
Why does this man need a hair dryer, he has no hair
Hey man its really not cool going after someone for something they cant control. His hair is great
This isn't about hair guys come on...
He’s using it to dry his ass hairs after using the bide
Better value buying the dmx module IMO. Then you can have as many channels as you need for cheap and can have mixed voltages. 12/24VDC
Do you have a DMX board recommendation? Most of the cheaper ones that I've used burn the relays quickly.
@@theautomationgym used these for over 5 yrs now
@@theautomationgym also can use the dmx to drive wago relays
Where’s your back up battery??
There is a big UPS on the AC side, hence the missing 🔋
Very interesting use of these modules. I have 4 RGBW modules in my install which I am not actually using yet so I amy consider some alternative use cases if some channels are not used.
Absolutely, if you have spare channels make the best out of them 😉
Great Videos!. Is great, to learn different ways to do things on the Loxone System.
Glad you enjoyed it!
Hi, can you please tell me the brand and model of the dimmable 24v lightbulb? I've been searching for them for a bit but could only find non dimmable ac/dc 24v bulbs... Thank you!
Hi, I'm using some cheap B27's from Amazon - not the greatest dimming curve amzn.to/3ziqdUW Alternatively check the guys at Minalox or Segula 24V are slightly better quality but expensive
Thank you so much!
can you show me how to automate watering my house plants? thanks
Can do, just need a few plants first ;)
sir need the part two please
What would part 2 be? Connecting extensions or circuits?
why you choose /dev/sps/io? can be only dev/ for example? thanks
That's the specifies url in the documentation to send commands to a specific IO, not sure if it works without it
This could be automated in factory
Hello Nico, thank you for this detailed video. For my part, IP cameras only seem to broadcast in H265. Do you think there is a way to retrieve this stream from the mini server without having to use the application developed by Andrew, directly without leaving a PC on permanent standby?Thank you in advance for your help
Good question, as far as I'm aware the Miniserver only supports MJPEG sub streams and for conversions we need a "middle man" running or a pc or raspberry/node red etc
Hello, nice to learn, unfortunately i have gen1 miniserver, so i can not use https (for reading electricity prices). But i have another task - i have photovoltaic unit conneted over modbus, that works for me fine. But i want to send a command via actuator that sets power overflow to grid from 0-10000W ... i made a virtual analog input a connected to actuator. But problem is i need to send sequence of commands, first to IO adress 0 a password (1234 for example) and after that to adress 66 a value of power lets say 10000W ... i dont know how to do this sequence... can u help me ? thanx
Hi, I think that it should be possible to send a sequence of events with separate actuators + sequence controller. What does the endpoint look like?
Hi, thanks for the awesome content. Can you please let me know if it is possible that if a miniserver can send the change events of all devices connected to it on a single endpoint on my backend server. If yes, then how can I achieve it?
Thank you, much appreciated 🙏🏼 All states from 1 send should technically be possible - check the *communication with the Miniserver* github repository. If not mistaken, you pull the app.json file
@@theautomationgym Thanks for your reply. Can you please perhaps provide a link to the repository? Much appreciated.
Hi, thanks for video. I just did everthing as you did and got success. However, I tried to go futher and tried to get an image when ringing. In the description of cam2web application I found the address to capture images: "ip:port/camera/jpeg", but for some reason it is not working. Of course, I wrote my IP and port:). Can you help me with this?
I like videos, there not so many content about loxone in english (mostly german), Can make tutorial how to connect 3rd part devices to loxone? Zigbee, z-waze etc?
Thank you! 😊 I don't have any zigbee/z-wave devices, but I will see what else I can get 😉
great videos! Related to this topic - is it possible to enter a value (dollar amount) while using the Loxone app (let's say the price of diesel per liter for a backup generator) to use in energy management calculations? The price paid varies and the easiest is just to add the price/liter on the spot. Thanks!
Thank you and yes I think it is possible! On the energy flow monitor you can use the price/kWh variable and change it. The better use would be custom logic for the meter reading for X period * price of kWh and reset it with pulse at day
Thanks for the nice Video and explantion. Is it possible to integrate Sonos Speaker through this way into the Loxone system?
Thank you, it's not through the API connector, but you can use Virtual Outputs to control the Sonos amp: library.loxone.com/detail/sonos-speakers-28/overview
If i understood it correctly then If I want to control two or more function blocks of the same type I cannot use only one VTI but I have to use two or more of them, because function block identification in command is not unique per function block instance but per function block type, right ?
Hi. Thank for your efforts! Can you explain what is the main advantage of having API? If I understand well, this example could be performed via app or a touch switch. Maybe I am wrong. But please help me!
Thank you, the main reason outside of configurations would be 3rd party integrations into websites, other systems etc
Now I see! Thanks for your help!
Hey Nico, Is it possible that it only works for non Gen 1 Miniservers? Because it looks like I can't use https in the url
Hi, kinda ssl and IPv6 are Gen 2 specs, however you might still be able to use the same url without ssl http only
Thank you Nico! Loved the video! I am quite a Loxone nab and I want to use the API connector for outputting to 3d party devices. So here's a suggestion: API connector for controlling 3d party devices. Keep it up man!
Thank you, glad you like it 😊 I have something in mind for 3rd party control, just waiting on the delivery 😁
@@theautomationgym Can't wait!
Hey, whatever controller I try to query to for the state responds with value of 2 and nothing else in the json.
Hi, depending on what you are trying to get (example lighting mood), I'd usually attach a memory flag and query it's "state" that gives the correct value
Awesome! Thanks to your clear explanation and details I have able to pull weather data into the mini server. You rock!
Glad you found it helpful 🙂
How to reset the mini server..I forgot my password