¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Running SIMPL debugger continuously


 

Fair point, MQTT is fairly complex and it would be hard to write by hand without a library.
The more I think about operationalizing this at scale, I'm not sure if MQTT is a good fit for my situation.? What do you think about sending syslog (RFC 5424) directly from the processor?? It's a very simple protocol running on UDP.? If packets occasionally get lost, no big deal.? I wrote something similar for Qsys:?

I have around 100 Crestron processors around the world, so adding a Pi on each one adds some operational challenges.? For me, RPi is a great tool for experiments, but not robust enough for production.


On Wed, Jun 5, 2024 at 9:36?PM Michael Caldwell-Waller via <bowser77=[email protected]> wrote:
Awesome, thank you for trying it and sharing your experience with the group ¡ª

I really like Python. I also really like Crestron gear.? Both do something specific really well and I¡¯ve gotten lots of value using both together.?

Python isn¡¯t my first or ¡°native¡± programming language but it is noteworthy for how massively productive you can be with it, for so little effort learning it.? Its community prioritizes simplicity and they¡¯ve excelled at delivering it.? Paid ChatGPT can crank out quality Python examples that can be pasted from, speeding development.?

Crestron¡¯s hardware and their paradigm with reducing high quality hardware to SIMPL integration has advantages that shine the most when you stick to its simplicity that I feel is chipped away from, when we seek to have a Crestron processor do everything including the kitchen sink.? If you flew on an airplane and found out that the same CPU runs your seat back gaming experience as well as the cockpit instruments, you¡¯d be appalled for the lack of separation.? I feel the same way about anything that adds to the latency of a home¡¯s responsiveness (as well as a bootup time I already think is too much) for critical functionality like lighting.? If you¡¯ve driven a Tesla you might feel their infotainment system has timing glitches¡­ it¡¯s for being a single computer that does too much.?

Since a single industrial-mount Raspberry Pi can be the on-premise MQTT server, and since it¡¯s not too hard set to run full-time Python scripts on boot (either on the same pi or another), I view it as a sweet spot.? Raspberries are up in under 30 seconds.? But more power to anyone who sees the value in having it all in a single appliance and wants to take a moment to whip out S# and implement this there.?

Mike

On Wed, Jun 5, 2024 at 7:18?PM Elliott Balsley via <ebalsley=[email protected]> wrote:
Thanks everyone, for the ideas.
Michael, that MQTT module is very cool!? I tested it and it works as advertised.? Great for temporary debugging with MQTT Explorer.? Have you thought about building the MQTT client into the module, to remove the need for that separate python app?

It might also be cool to run a little HTTP server on the processor that serves metrics in Prometheus format.? That's what I do on my Qsys Cores using this plugin: .

On Thu, May 30, 2024 at 10:56?PM RK-X via <rkx1984=[email protected]> wrote:
Also don't forget Cresteon Fusion which will pump whatever data you pick into a SQL table and the you can construct your data into PowerBi, works great for generating bigger pictures about system use, Errors, help requests, mic battery levels (anything). Then you can make in formed descisioms about correct system development or push training and information to change how users interact with the system and prove your results as time goes on

Join [email protected] to automatically receive all group messages.