MySensors
PlatformIO
MySensors | PlatformIO | |
---|---|---|
8 | 96 | |
1,290 | 7,526 | |
0.4% | 0.8% | |
4.6 | 9.1 | |
about 1 month ago | 6 days ago | |
C++ | Python | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MySensors
-
Ask HN: How have you engineered the shit out of your home's front entrance?
Engineering implies working within constraints. Most people in this realm only have to deal with the spouse acceptance factor as a limiter.
Went from openhab -> homeassistant -> Node-RED. Then sprinkle in MySensors, Frigate, and Double-Take, but not on just the entrance, go for the perimeter then defense in depth.
https://www.mysensors.org/
https://frigate.video/
https://github.com/jakowenko/double-take
-
Meshtastic and LoRa are “dangerous” (YouTube)
Mestastic has been doing fine work. I'm not a fan of the CLA though.
MySensors, IM(very)HO is a better system if you are building your own gear. They too have CLA requirements.
https://www.mysensors.org/
-
How to connect my coffee machine
/** * The MySensors Arduino library handles the wireless radio link and protocol * between your home built sensors/actuators and HA controller of choice. * The sensors forms a self healing radio network with optional repeaters. Each * repeater and gateway builds a routing tables in EEPROM which keeps track of the * network topology allowing messages to be routed to nodes. * * Created by Henrik Ekblad * Copyright (C) 2013-2015 Sensnology AB * Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors * * Documentation: http://www.mysensors.org * Support Forum: http://forum.mysensors.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. * ******************************* * * DESCRIPTION * * Simple binary switch example * Connect button or door/window reed switch between * digitial I/O pin 3 (BUTTON_PIN below) and GND. * http://www.mysensors.org/build/binary */ // Enable debug prints to serial monitor #define MY_DEBUG // Enable and select radio type attached #define MY_RADIO_RF24 //#define MY_RADIO_RFM69 #include #include #define CHILD_ID 3 #define BUTTON_PIN 3 // Arduino Digital I/O pin for button/reed switch Bounce debouncer = Bounce(); int oldValue=-1; // Change to V_LIGHT if you use S_LIGHT in presentation below MyMessage msg(CHILD_ID,V_TRIPPED); void setup() { // Setup the button pinMode(BUTTON_PIN,OUTPUT); // Activate internal pull-up digitalWrite(BUTTON_PIN,LOW); // After setting up the button, setup debouncer debouncer.attach(BUTTON_PIN); debouncer.interval(5); } void presentation() { // Register binary input sensor to gw (they will be created as child devices) // You can use S_DOOR, S_MOTION or S_LIGHT here depending on your usage. // If S_LIGHT is used, remember to update variable type you send in. See "msg" above. present(CHILD_ID, S_DOOR); } // Check if digital input has changed and send in new value void loop() { debouncer.update(); // Get the update value int value = debouncer.read(); if (value != oldValue) { // Send in the new value send(msg.set(value==LOW ? 1 : 0)); oldValue = value; } }
- Stromversorgung für ESP32 & Co.
-
I've got a old raspberry pi3 used for gaming but no.longer use it , has anyone got.any cool or unique ideas to use it for ?
If you like the idea of a smart home but worried about the S in IOT check out MySensors.
-
DIY TV-box project (Advice requested)
I have had great fun and good use of MySensors, that could be a place to start. It’s a very friendly and supportive community.
-
I want to build a personal gateway. No LoraWAN or TTL.
As mentioned, chirpstack works well if you still want to use LoRaWAN. Alternatively, you can use a system such as https://www.mysensors.org/ which builds its own protocol on top of lora. Finally, you can write everything from scratch using radio libraries (eg: https://www.airspayce.com/mikem/arduino/RadioHead/)
-
Choosing between LoRa 868MHz and Xbee 2.4GHz for long-range comms
If you haven't already defined your sensor modules, have a look at the MySensors framework. It works via a tree network where every node works as a repeater so you can easily build a large and sparse network with encryption at very low cost. It also integrates seamlessly with Home Assistant and most other HA controllers. I've used it at home with good results and it supports the RFM69 radio using India frequency bands.
PlatformIO
-
Help Needed with Tauri Desktop App for NFC Card Enrollment on ESP32
For the ESP32 in read mode, we've successfully developed a project using PlatformIO that accepts the key during build time and stores it in memory.
-
It's 2023 why embedded development is so cumbersome?(rant)
Check out Zephyr OS and Platform IO. Zephyr is part of the Linux foundation and has similarities to Linux with how it performs hardware abstraction (device tree). Platform IO integrates with other frameworks including mbed and Arduino.
- Is there an extension in vs code to do embedded programming
-
Debug program using PlatformIO and avr-stub
PlatformIO together with avr-stub can be used to do source level debugging but there are some caveats.
-
Do you know some sbc or soc that can be programed to run rtos and c++ on top?
Look into https://platformio.org/, it can abstract over a few RTOSes, and can show you which OSes work with which chips/boards.
-
Newbie question on identifying board in IDE
If the HW looks like it works, you could also try alternate programming software. (e.g. TinyGo or PlatformIO)
-
Issue with Adafruit ESP32-S3: COM port switching, etc.
You might have better luck with PlatformIO than the Arduino IDE; it's better at automatically choosing the serial port, though I can't say I've used it under Windows.
-
Made some progress on the Chessboard this week
My other suggestion takes more work but will make your life oh so much better. Professionally I have used and highly recommend. https://platformio.org/ which is free!
-
Ask HN: Best books to learn embedded systems?
Will you be doing embedded Linux? Embedded RTOS? Bare metal? Microcontrollers? SoC (say, FPGA with a hard processor core)?
You can do a lot with QEMU. https://bootlin.com/ has a lot of great, free training material.
https://bootlin.com/doc/training/embedded-linux-qemu/embedde...
is one of my favorites.
Learning to cross-compile, do embedded debugging, the process of booting an embedded system (which varies depending on the answers to the above questions), learning how to read a technical reference for the processor you’re using as well as for peripherals you’re likely to interact with - SPI, i2c, UART, maybe PCIe, are all handy skills. Learn a bit about JTAG, hardware, reading schematics, etc. Even being able solder is helpful.
There may be books (I had a great embedded Linux book when I started) but there are lots of online materials too. Check out https://platformio.org/
There are fun embedded boards and projects for microcontrollers too - micropython on an rpi pico, tinygo, eLua, etc.
What are some alternatives?
esphome - ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
MicroPython - MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
RadioLib - Universal wireless communication library for embedded devices
duino-coin - ᕲ Duino-Coin is a coin that can be mined with almost everything, including Arduino boards.
arduino-LoRa - An Arduino library for sending and receiving data using LoRa radios.
meson - The Meson Build System
RadioHead - Version of RadioHead library for Teensy boards
BitBake - The official bitbake Git is at https://git.openembedded.org/bitbake/. Do not open issues or file pull requests here.
Temper-ESP8266 - Temper is a compact temperature sensor based on ESP8266 and SHT30 with large 13x7 pixel led display.
ESPAsyncWebServer - Async Web Server for ESP8266 and ESP32
BluePillDemo - A collection of small example projects tailored for the Blue Pill board created in STM32CubeIDE. No further updates.
TinyGo - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.