Standup Zone Forum

General => Random => Topic started by: PonoBill on September 15, 2019, 03:43:10 PM

Title: I am a Golden God of Unix...
Post by: PonoBill on September 15, 2019, 03:43:10 PM
...NOT! But I did manage to get Node js, Node Red and the Mosquitto MQQT broker installed and running on a dinky Raspberry Pi server running Raspian Buster Lite. Sheesh, I feel like I gave birth or something equally strenuous. It's all working, which is fricking amazing since I don't really know what the heck I'm doing. The last time I used Unix was when I learned C and AWK back in the days of wooden computers and iron programmers. Yes, I still call it programming. Shoot me.

I'm turning LEDs on and off and dimming them all over my shop with any browser, especially my iPhone. So cool, so difficult to get going, so totally pointless. Actually not useless, this will be the foundation of my radically simplified wiring and control system in Fritz, and that's more than a little bit pointless. I'm pretty excited. Nerdgasm.

My network has slowed to a crawl with the little Raspberry Pi hogging all the bandwith, sending messages to ESP32s saying "does the light know it should be on 30%" and getting the message back "yes, it's on 30%, just like it was ten milliseconds ago."

So I got that going for me.

And yes, there isn't any useful wind in Hood river today. See what happens!?!
Title: Re: I am a Golden God of Unix...
Post by: PonoBill on September 16, 2019, 06:37:02 AM
I remember when computers cost money. These days smartphone tech has made them ridiculously cheap and useful. You can buy a Raspberry Pi for ten bucks and turn any HDMI TV into a hi-res, fully capable computer. Keyboards and mice are fundamentally free unless you insist on something shiny. At the other end of the spectrum the most capable gamer computer has the fundamental specifications of a supercomputer and could, in fact, be used as one.

We're all cyborgs, the smartphone in our pockets connects us 24/7 to all the knowledge and experiences of the world. The only limitation is the low bandwidth of the I/O. How far away are we from direct connection? How far then from uploading a backup? Immortality probably isn't freezing heads, it's probably an upload to AWS.
Title: Re: I am a Golden God of Unix...
Post by: eastbound on September 16, 2019, 07:34:00 AM
sparkstation bot at inception of my business in 1996--w/ a 17 in crt monitor--running solaris unix--$12K---windows NT changed the world for me back then--great OS--made all that sun equipment irrelevant---java!!
Title: Re: I am a Golden God of Unix...
Post by: Admin on September 16, 2019, 07:56:25 AM
We're all cyborgs, the smartphone in our pockets connects us 24/7 to all the knowledge and experiences of the world. The only limitation is the low bandwidth of the I/O. How far away are we from direct connection? How far then from uploading a backup? Immortality probably isn't freezing heads, it's probably an upload to AWS.

And if it could happen, why would we assume that it hasn't already happened?  Did I just write that in your simulation or did you just post in mine?  Or is this is a multi player deal? 
Title: Re: I am a Golden God of Unix...
Post by: burchas on September 16, 2019, 08:05:54 AM
...it's probably an upload to AWS.

Would rather see you let AWS native IOT deal with that pain and use that precious time to revive your water tank project :D
Title: Re: I am a Golden God of Unix...
Post by: PonoBill on September 16, 2019, 11:35:31 AM
...it's probably an upload to AWS.

Would rather see you let AWS native IOT deal with that pain and use that precious time to revive your water tank project :D

Unfortunately it requires a consistent internet connection, all the system I'm playing with needs is a functioning router, the internet connection is optional. Locally hosted.
Title: Re: I am a Golden God of Unix...
Post by: burchas on September 16, 2019, 01:53:16 PM
...it's probably an upload to AWS.

Would rather see you let AWS native IOT deal with that pain and use that precious time to revive your water tank project :D

Unfortunately it requires a consistent internet connection, all the system I'm playing with needs is a functioning router, the internet connection is optional. Locally hosted.

Isn't that a lot to ask from Fritz? BTW, if you build it around a freeRTOS microcontroller you won't have to rely on consistent internet connection for most functions.
Title: Re: I am a Golden God of Unix...
Post by: PonoBill on September 16, 2019, 03:49:54 PM
I'm using ESP32 microcontrollers for the receivers (topic subscribers in MQTT-speak). The idea is to have multiple control points and fail gracefully, from iphone to control panel to local switch. FreeTOS is interesting, but I've headed down this path. Each microcontroller can manage a lot of stuff, and I'm writing local code for the more complex control systems. The air bag rear suspension for example controls ride height but also automatically levels when the coach is parked. The code for that runs on the local ESP32 and just reports status in most cases. As soon as the engine is started it moves to ride height on both sides.

If I'm gonna automate it, it should be automatic. It just reports state, though it can also be directly controlled from the dash, from a browser, or from local pushbuttons that talk to the controller.

The original GMC motor homes actually had a complex analog system to most of the same things. More directly controlled, but pretty cool stuff. And huge--about the side of a small generator
Title: Re: I am a Golden God of Unix...
Post by: burchas on September 16, 2019, 04:35:03 PM
That’s geekery at its best but makes me wonder how pessimistic are you about wind forecast if you think you can finish it before you ship back to Maui? unless of course you have Fritz replica on the island ( which I wouldn’t put past you) :)
Title: Re: I am a Golden God of Unix...
Post by: PonoBill on September 16, 2019, 05:09:00 PM
Maui is where I'll build most of the electronics.
SimplePortal 2.3.7 © 2008-2024, SimplePortal