Author Topic: I am a Golden God of Unix...  (Read 865 times)

PonoBill

  • Cortez Bank Status
  • *****
  • Posts: 22770
    • View Profile
    • Ponohouse is for sale. Great house but it's time for new adventures
I am a Golden God of Unix...
« 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!?!
« Last Edit: September 15, 2019, 03:47:43 PM by PonoBill »
Ponohouse is for sale: http://www.ponohouse.com
Foote 10'4X34", SIC 17.5 V1 hollow and an EPS one in Hood River. Foote 9'0" x 31", L41 8'8", 18' Speedboard, etc. etc.

PonoBill

  • Cortez Bank Status
  • *****
  • Posts: 22770
    • View Profile
    • Ponohouse is for sale. Great house but it's time for new adventures
Re: I am a Golden God of Unix...
« Reply #1 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.
Ponohouse is for sale: http://www.ponohouse.com
Foote 10'4X34", SIC 17.5 V1 hollow and an EPS one in Hood River. Foote 9'0" x 31", L41 8'8", 18' Speedboard, etc. etc.

eastbound

  • Cortez Bank Status
  • *****
  • Posts: 2836
    • View Profile
Re: I am a Golden God of Unix...
« Reply #2 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!!
Portal Barra 8'4"
Sunova Creek 8'7"
Starboard Pro Blue Carbon  8'10"
KeNalu Mana 82, xTuf, ergoT

Admin

  • Administrator
  • Cortez Bank Status
  • *****
  • Posts: 4748
    • View Profile
    • StandUpZone
    • Email
Re: I am a Golden God of Unix...
« Reply #3 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? 

burchas

  • Mill Rock
  • Teahupoo Status
  • ******
  • Posts: 1867
    • View Profile
    • Email
Re: I am a Golden God of Unix...
« Reply #4 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
- M15 15x27x4.5 https://bit.ly/2WmuEpt
- Ocean Ripple 16x25 @ 251L
- SIC Standamaran (S-16) - https://goo.gl/7myGAo
- Wide Tail 10x31x4 @ 149L
- SIC FX 12.6 2X - https://goo.gl/GOkSHT
- Red 2017 Elite 14x25
- ZRE Lightning 75
- Kenalu Mana 82
- Kialoa Hulu 87
- QuickBlade Trifecta 86

PonoBill

  • Cortez Bank Status
  • *****
  • Posts: 22770
    • View Profile
    • Ponohouse is for sale. Great house but it's time for new adventures
Re: I am a Golden God of Unix...
« Reply #5 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.
Ponohouse is for sale: http://www.ponohouse.com
Foote 10'4X34", SIC 17.5 V1 hollow and an EPS one in Hood River. Foote 9'0" x 31", L41 8'8", 18' Speedboard, etc. etc.

burchas

  • Mill Rock
  • Teahupoo Status
  • ******
  • Posts: 1867
    • View Profile
    • Email
Re: I am a Golden God of Unix...
« Reply #6 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.
- M15 15x27x4.5 https://bit.ly/2WmuEpt
- Ocean Ripple 16x25 @ 251L
- SIC Standamaran (S-16) - https://goo.gl/7myGAo
- Wide Tail 10x31x4 @ 149L
- SIC FX 12.6 2X - https://goo.gl/GOkSHT
- Red 2017 Elite 14x25
- ZRE Lightning 75
- Kenalu Mana 82
- Kialoa Hulu 87
- QuickBlade Trifecta 86

PonoBill

  • Cortez Bank Status
  • *****
  • Posts: 22770
    • View Profile
    • Ponohouse is for sale. Great house but it's time for new adventures
Re: I am a Golden God of Unix...
« Reply #7 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
Ponohouse is for sale: http://www.ponohouse.com
Foote 10'4X34", SIC 17.5 V1 hollow and an EPS one in Hood River. Foote 9'0" x 31", L41 8'8", 18' Speedboard, etc. etc.

burchas

  • Mill Rock
  • Teahupoo Status
  • ******
  • Posts: 1867
    • View Profile
    • Email
Re: I am a Golden God of Unix...
« Reply #8 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) :)
- M15 15x27x4.5 https://bit.ly/2WmuEpt
- Ocean Ripple 16x25 @ 251L
- SIC Standamaran (S-16) - https://goo.gl/7myGAo
- Wide Tail 10x31x4 @ 149L
- SIC FX 12.6 2X - https://goo.gl/GOkSHT
- Red 2017 Elite 14x25
- ZRE Lightning 75
- Kenalu Mana 82
- Kialoa Hulu 87
- QuickBlade Trifecta 86

PonoBill

  • Cortez Bank Status
  • *****
  • Posts: 22770
    • View Profile
    • Ponohouse is for sale. Great house but it's time for new adventures
Re: I am a Golden God of Unix...
« Reply #9 on: September 16, 2019, 05:09:00 PM »
Maui is where I'll build most of the electronics.
Ponohouse is for sale: http://www.ponohouse.com
Foote 10'4X34", SIC 17.5 V1 hollow and an EPS one in Hood River. Foote 9'0" x 31", L41 8'8", 18' Speedboard, etc. etc.