The Automation Gym
The Automation Gym
  • 20
  • 47 112
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.
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 UDP Inputs
zhlédnutí 1,7KPřed rokem
How to use Virtual UDP Inputs
How to use Virtual HTTP Inputs - Bitcoin Price Example
zhlédnutí 1,3KPřed rokem
How to use Virtual HTTP Inputs - Bitcoin Price Example
The Powerful Loxone API Connector
zhlédnutí 6KPřed rokem
The Powerful Loxone API Connector
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)

Komentáře

  • @hassanalajmi9959
    @hassanalajmi9959 Před 2 dny

    Aren't you working with loxone? Is there a way to contact you?

    • @theautomationgym
      @theautomationgym Před 20 hodinami

      Hi, this channel is my own side hobby. If you'd pop a request at www.theautomationgym.com . I can reach out :)

    • @hassanalajmi9959
      @hassanalajmi9959 Před 4 hodinami

      @@theautomationgym there is no contact info in the website :(

  • @MrBdegier
    @MrBdegier Před 3 dny

    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!

    • @theautomationgym
      @theautomationgym Před 3 dny

      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.

  • @superanrzej
    @superanrzej Před 3 dny

    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

    • @theautomationgym
      @theautomationgym Před 3 dny

      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.

  • @wolframborchers65
    @wolframborchers65 Před 4 dny

    which was the microphone? Do you have a aaz link?

  • @baudneo
    @baudneo Před 4 dny

    Forefox has a plugin for wrbserial, but it rarely works as it should. I just use cli esptool.

  • @zoeyzhang9866
    @zoeyzhang9866 Před 6 dny

    Nice share! I wonder if any custom PCBs may help? We're open to sponsor free service for a potential collab! (PCBWay zoey)

  • @ipoydy
    @ipoydy Před 7 dny

    Super Video! Danke

  • @armando08011971
    @armando08011971 Před 7 dny

    Mustard on the beat 😂

  • @YoarickColon
    @YoarickColon Před 7 dny

    Great Video Information. Thank You!

  • @amroyalathem-jo4ht
    @amroyalathem-jo4ht Před 7 dny

    Nice work Niko, perfect tutorial.

  • @kosarailieva2943
    @kosarailieva2943 Před 13 dny

    Really useful content 👍🏼

  • @dltcat
    @dltcat Před 13 dny

    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?

    • @theautomationgym
      @theautomationgym Před 13 dny

      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.

  • @yaniivanov1358
    @yaniivanov1358 Před 14 dny

    Solid tutorial, good work

  • @Keep.Control
    @Keep.Control Před 14 dny

    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.

    • @theautomationgym
      @theautomationgym Před 14 dny

      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

    • @dltcat
      @dltcat Před 13 dny

      I hope your tests go well and looking forward to seeing the outcome.

  • @DaniOptiX
    @DaniOptiX Před 14 dny

    Congrats! Very good explanation! You tried with addresable rgbw led strip too?

    • @theautomationgym
      @theautomationgym Před 14 dny

      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/

  • @mikehertz6507
    @mikehertz6507 Před 14 dny

    Very nice work!

  • @wilmacchrismo1759
    @wilmacchrismo1759 Před 14 dny

    Thank you very much for the video.

  • @TheMahdifarhat
    @TheMahdifarhat Před měsícem

    can you use Modbus rs light switch? as they are way cheaper?

    • @theautomationgym
      @theautomationgym Před měsícem

      Yes, but it does depend on the switch and how configurable the protocol is

  • @PaulSinnema
    @PaulSinnema Před měsícem

    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?

    • @theautomationgym
      @theautomationgym Před měsícem

      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

  • @AlesBubla
    @AlesBubla Před měsícem

    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.

    • @theautomationgym
      @theautomationgym Před měsícem

      Hi, I can try 😁 What is the make and model of the Chlorinator?

  • @dltcat
    @dltcat Před měsícem

    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?

    • @theautomationgym
      @theautomationgym Před měsícem

      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

    • @dltcat
      @dltcat Před měsícem

      @@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.

  • @jechtom
    @jechtom Před měsícem

    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.

    • @theautomationgym
      @theautomationgym Před měsícem

      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..

  • @Xmlproxmlteams
    @Xmlproxmlteams Před měsícem

    How is this helpful tho i don't understand?

    • @theautomationgym
      @theautomationgym Před měsícem

      On the hairdryer is not important - on a grid connection however you can do load shedding, bills, solar diversion etc

  • @yaniivanov1358
    @yaniivanov1358 Před měsícem

    Why does this man need a hair dryer, he has no hair

    • @wachingUsleep
      @wachingUsleep Před měsícem

      Hey man its really not cool going after someone for something they cant control. His hair is great

    • @Mindfield-yu1cj
      @Mindfield-yu1cj Před měsícem

      This isn't about hair guys come on...

    • @petarvasilev27
      @petarvasilev27 Před měsícem

      He’s using it to dry his ass hairs after using the bide

  • @s31teg
    @s31teg Před měsícem

    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

    • @theautomationgym
      @theautomationgym Před měsícem

      Do you have a DMX board recommendation? Most of the cheaper ones that I've used burn the relays quickly.

    • @s31teg
      @s31teg Před měsícem

      @@theautomationgym used these for over 5 yrs now

    • @s31teg
      @s31teg Před měsícem

      @@theautomationgym also can use the dmx to drive wago relays

  • @nickstocker4834
    @nickstocker4834 Před měsícem

    Where’s your back up battery??

    • @theautomationgym
      @theautomationgym Před měsícem

      There is a big UPS on the AC side, hence the missing 🔋

  • @JurassicJungle
    @JurassicJungle Před měsícem

    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.

    • @theautomationgym
      @theautomationgym Před měsícem

      Absolutely, if you have spare channels make the best out of them 😉

  • @YoarickColon
    @YoarickColon Před 2 měsíci

    Great Videos!. Is great, to learn different ways to do things on the Loxone System.

  • @alessandro5693
    @alessandro5693 Před 2 měsíci

    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!

    • @theautomationgym
      @theautomationgym Před 2 měsíci

      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

    • @alessandro5693
      @alessandro5693 Před měsícem

      Thank you so much!

  • @kosarailieva2943
    @kosarailieva2943 Před 2 měsíci

    can you show me how to automate watering my house plants? thanks

  • @MrSufiyannaseer
    @MrSufiyannaseer Před 2 měsíci

    sir need the part two please

    • @theautomationgym
      @theautomationgym Před měsícem

      What would part 2 be? Connecting extensions or circuits?

  • @miguellight
    @miguellight Před 3 měsíci

    why you choose /dev/sps/io? can be only dev/ for example? thanks

    • @theautomationgym
      @theautomationgym Před 2 měsíci

      That's the specifies url in the documentation to send commands to a specific IO, not sure if it works without it

  • @aabarcellos
    @aabarcellos Před 3 měsíci

    This could be automated in factory

  • @jacquesmeillard
    @jacquesmeillard Před 3 měsíci

    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

    • @theautomationgym
      @theautomationgym Před 2 měsíci

      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

  • @vanditcz
    @vanditcz Před 4 měsíci

    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

    • @theautomationgym
      @theautomationgym Před 4 měsíci

      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?

  • @abdullahshahid2822
    @abdullahshahid2822 Před 4 měsíci

    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?

    • @theautomationgym
      @theautomationgym Před 4 měsíci

      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

    • @abdullahshahid2822
      @abdullahshahid2822 Před 4 měsíci

      @@theautomationgym Thanks for your reply. Can you please perhaps provide a link to the repository? Much appreciated.

  • @JevgeniJefremov
    @JevgeniJefremov Před 5 měsíci

    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?

  • @Krystianen
    @Krystianen Před 5 měsíci

    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?

    • @theautomationgym
      @theautomationgym Před 4 měsíci

      Thank you! 😊 I don't have any zigbee/z-wave devices, but I will see what else I can get 😉

  • @pietervanrooyen2046
    @pietervanrooyen2046 Před 5 měsíci

    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!

    • @theautomationgym
      @theautomationgym Před 4 měsíci

      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

  • @lsuka1295
    @lsuka1295 Před 6 měsíci

    Thanks for the nice Video and explantion. Is it possible to integrate Sonos Speaker through this way into the Loxone system?

    • @theautomationgym
      @theautomationgym Před 6 měsíci

      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

  • @martinsefcik
    @martinsefcik Před 7 měsíci

    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 ?

  • @PokoTomy
    @PokoTomy Před 7 měsíci

    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!

    • @theautomationgym
      @theautomationgym Před 6 měsíci

      Thank you, the main reason outside of configurations would be 3rd party integrations into websites, other systems etc

    • @PokoTomy
      @PokoTomy Před 6 měsíci

      Now I see! Thanks for your help!

  • @syseng99
    @syseng99 Před 7 měsíci

    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

    • @theautomationgym
      @theautomationgym Před 6 měsíci

      Hi, kinda ssl and IPv6 are Gen 2 specs, however you might still be able to use the same url without ssl http only

  • @StefGebruers
    @StefGebruers Před 8 měsíci

    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!

    • @theautomationgym
      @theautomationgym Před 7 měsíci

      Thank you, glad you like it 😊 I have something in mind for 3rd party control, just waiting on the delivery 😁

    • @StefGebruers
      @StefGebruers Před 6 měsíci

      @@theautomationgym Can't wait!

  • @tanithflory3429
    @tanithflory3429 Před 8 měsíci

    Hey, whatever controller I try to query to for the state responds with value of 2 and nothing else in the json.

    • @theautomationgym
      @theautomationgym Před 7 měsíci

      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

  • @albanbernier5911
    @albanbernier5911 Před 9 měsíci

    Awesome! Thanks to your clear explanation and details I have able to pull weather data into the mini server. You rock!

  • @user-hy2lb7my3n
    @user-hy2lb7my3n Před 9 měsíci

    How to reset the mini server..I forgot my password