Skip to content

rmcgibbo/Jarvis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jarvis Desk Controller

This is code for building a jarvis desk controller that talks wifi. Based on https://github.com/phord/Jarvis, which figured out the pins.

Notes

I'm using PlatformIO Core, version 5.0.4. Build with pio run, upload to device with pio run --target upload.

Wiring: IMG_1563

secrets: You need to supply your own secrets.h file. You can't use mine, because I don't want randos on the internet to change the height of my desk.

#define WLAN_SSID       "your ssid"
#define WLAN_PASS       "your password"

#define AIO_SERVER      "io.adafruit.com"
#define AIO_SERVERPORT  8883
#define AIO_USERNAME    "your username for adafruit io"
#define AIO_KEY         "your key for adafruit io"

Raising and lowering the desk with curl:

$ curl -F "value=55"  -H "X-AIO-Key: $YOUR_AIO_KEY" https://io.adafruit.com/api/v2/$YOUR_AIO_USERNAME/feeds/commands/data  # low
$ curl -F "value=165" -H "X-AIO-Key: $YOUR_AIO_KEY" https://io.adafruit.com/api/v2/$YOUR_AIO_USERNAME/feeds/commands/data  # high

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages