Failure is part of Success
Today I want to talk about failure – specifically where it applies to my work on SmartPoi/Magic Poi, with Cecli AI assistant . A little while back I decided to add Timeline mode to SmartPoi – and SmartPoi_Controls. This required code updates to: After looking at Timelines, I realised that actually I did not have to re-write the whole Timeline thing into SmartPoi firmware – I already had a working base in Magic Poi, re-written from scratch and with the integration with Magic Poi website built-in. The solution: I have started polishing the firmware up and am going to release it as Open Source. UDP mode on ESP32 just doesn’t work, sorry. I am starting to suspect it is an issue with the UDP library and not my code. I have a lot of work to do here – if the library is not working as I suspect I will have to prove that for myself by creating a simple UDP Client-Server pair of apps and troubleshoot that, without all of the complexity of SmartPoi happening around it. Estimated time: at least 2 days, but if it’s really broken there may actually be no solution? I don’t like to say something is impossible, I am willing to spend another two weeks looking at this to fix it at some point! I am currently obsessed with getting the “Perfect Sync” between poi. This is made more difficult by my “Virtual Poi” – which I am determined to sync with the “Real” poi. I actually did get this working, but now the “Virtual Poi” do not sync with one-another! So far finishing this feature is proving very difficult due to the sheer amount of services and functions that have to work together. I have MQTT server, Flask back-end, JavaScript and C++ firmware to handle. Every change needs to be uploaded to poi, and server, then tested in real world situations. The good news is, when this is working, we will have something I have never achieved before – and it’s an unique feature for LED Poi! Real-time, perfect sync over the internet. I just need time to fail and try again and it will work eventually. Looking forward to releasing Magic Poi firmware asap – while also fixing the few bugs we still have with the SmartPoi_Controls app. Many thanks to my Patreon supporters – special shout out to Flavio over in Brazil who is doing increadible things with the hardware side of things! Follow me on Patreon Check out Flavio’s work on Intagram The post Failure is part of Success appeared first on Circus Scientist . Magic Poi website (downloading of Timelines) SmartPoi firmware (both ESP32 AND Arduino versions), and SmartPoi_Controls Android App This did not succeed. I literally spent 2 weeks on this, but I am sure I mentioned before, SmartPoi code is based on a project that is now 12 years old. It works, but is very difficult to change. The changes required to add Timeline functionality were threatening to break some of that stability.