Hi everyone, I’m diving into the world of MQTT-enabled devices and wanted to share my experiences and questions regarding dimmer integration. I recently set up an MQTT-enabled dimmer that uses values from 0 to 255 to adjust brightness, which translates smoothly to percentages using the ‘Absolute minimum’ and ‘Absolute maximum’ settings in my channel configuration. However, I’m curious about the reverse transformation when sending commands. I noticed that using %s for commands sends values between 0 and 100, but I’m wondering if there’s another variable or method that could offer more precision or flexibility in controlling the brightness.
Another topic I’m exploring is user identification in smart apps. I’m working on a project where I need to capture the user ID or some form of identifying information when an automation or smart app is triggered. For instance, if user A activates a switch using their mobile device, I want to log that action and send it to my server. I’ve managed to send device information, timestamps, and other details, but capturing the user ID has been a challenge. If anyone has insights or solutions on how to achieve this, I’d greatly appreciate your input!
Lastly, I’m curious about the possibility of developing for SMART-TV platforms using a virtual machine in the cloud. Specifically, I’m interested in whether the Samsung TV emulator works on a cloud-based VM and how one could test a SMART-TV app without physical hardware or an emulator. I’m planning to use C# with Visual Studio 2019, so any advice on setting up the environment or potential hurdles would be invaluable.
I’m looking forward to hearing your thoughts and experiences on these topics!