¿ªÔÆÌåÓý

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

Re: ONVIF Camera PTZ Control Protocol


 

This is one of those problems I'd try to solve by using ChatGPT, Raspberry Pi, and Python.? The reason for these is simpl(e): ChatGPT has access to billions of lines of Python code, yet virtually no SIMPL / S+ / S# code, in order to be proficient at giving high quality solutions.? By ChatGPT, I'm referring to the premium version that costs $20/month -- there's a huge quality difference.? ChatGPT will write "hello world" scripts to talk to new hardware and get it about 95% right on the first try, reducing the workload to just filling in that 5% gap.

The basic premise is this:? Can I get ChatGPT to help me write code to get a Raspberry Pi to move that camera the way I'd like?? Generally I can get something new and novel talking in 20 minutes or less to a RasPi, with a fair bit of luck.? When I ask it to write for ONVIF, it already knows how to pull in open-source ONVIF libraries and take advantage of other people's hard work.

If I succeed, then it's a simple matter of getting SIMPL to "push the buttons" on that Raspberry Pi over serial or UDP (which works reliably), and then configuring the RasPi to automatically start my middleware upon boot.? Set and forget.? RasPi's weak spots are overheating and corrupting SD cards, both of which are solved just by buying commercial grade (e.g. DIN-rail-mount) RasPi's with inbuilt eMMC memory so that SD cards aren't needed.? Passive cooling works better than fans (because a RasPi with these middleware scripts sits at 0-2% CPU usage all day...they don't generate much CPU heat to need the fan... fans become a mechanical point of failure and I'd like a solution I can set and forget)...

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