Rodrigo boosted

I think I want to start displaying when the average phase ends, so it'll say something like, "There are 3 days of burn left before your rest period."

I think I can use that.

Show thread

I decided to try with an ESP8266. It simply works and with the Arduino IDE it is easy to get it running.

I wrote a simple C program to recv by UDP the data from the bed sensor and seems to be working fine. Let see if it remains connected to the WIFI during the week.

Show thread

It turns out the board disconnects itself after some hours. Here is some annotated data from the week. Who said binary?

Show thread

Can we just put humans in RAID1. So unreliable

It turns out this device has several duplicated UUIDs for different "characteristics", so most python bluetooth modules will pick the wrong one. I need to manually specify the sbus path. Welcome to the future...

Show thread

Finally I found the correct attribute to read using bluetoothctl: the last bit is the status of the button 0. Let see if I can plug it into a python script.

Show thread

Data must be received via bluetooth in a machine located in another room.

Already spent several hours trying get the IDE to work but I decided to just attach my button to the push button 0 and use the default firmware, which sends data using GATT

Show thread

Weekend : use a button to measure when I go to bed and wake up (already installed and working fine).

This is the board (Thunderboard Sense) I plan to use with lot of sensors I may use later.

A local machine running attempts to run some shell code in my web server :thinksphere:

Rodrigo boosted

You have been warned, be polite 

Show thread

You have been warned, be polite 

Show thread
Show more
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!