hiveeyes / arduino Goto Github PK
View Code? Open in Web Editor NEWArduino-compatible MCU firmware code for sensor-, telemetry-, and gateway-appliances.
Home Page: https://hiveeyes.org/docs/arduino/
License: GNU General Public License v3.0
Arduino-compatible MCU firmware code for sensor-, telemetry-, and gateway-appliances.
Home Page: https://hiveeyes.org/docs/arduino/
License: GNU General Public License v3.0
I am getting insane values from the scale.
I am not sure, if this issue is cause of wrong code, or if the sensor does not work.
Hi there,
the discussion at [1] might yield some improvements to make to the code base and documentation.
With kind regards,
Andreas.
[1] https://community.hiveeyes.org/t/probleme-beim-power-down-des-hx711-unter-arduinocore-fur-esp32/2948
Hi @u-l-m-i,
hier im Repository wurden querbeet die PlatformIO Konfigurationen aktualisiert. Bei Deinen Firmwares sieht es eigentlich recht gut aus, aber zwei Dinge sind noch übrig.
espressif8266@^2
sowie espressif32@^2
Siehst Du irgendeine Möglichkeit, wie Du ein Update u.U. "in echt" testen könntest?
Viele Grüße,
Andreas.
Anbei der status quo. An manchen Stellen lässt sich noch nach oben gehen. Auch bei den Plattform SDKs espressif8266
sowie espressif32
. Ich habe dort bewusst einstweilen frühere Releases ausgewählt, als aktuell verfügbar wären.
platform = espressif8266@^2
ArduinoJson@^6
bogde/[email protected]
[email protected]
paulstoffregen/[email protected]
robtillaart/[email protected]
tzapu/WiFiManager@^0.16.0
vshymanskyy/TinyGSM@^0.10.9
https://github.com/daq-tools/Adafruit_MQTT_Library#maxbuffersize-2048
https://github.com/hiveeyes/TextFinder#modernize
platform = espressif32@^2
bblanchon/ArduinoJson@^6
bogde/[email protected]
milesburton/DallasTemperature@^3.9.1
paulstoffregen/OneWire@^2.3.5
robtillaart/[email protected]
vshymanskyy/TinyGSM@^0.10.9
https://github.com/daq-tools/Adafruit_MQTT_Library#maxbuffersize-2048
https://github.com/tzapu/WiFiManager.git#2.0.4-beta
hello! :-)
checkout command (as in README):
git clone --recursive https://github.com/hiveeyes/arduino
error:
error: Server does not allow request for unadvertised object 074cae4f4eb94eae1ce83416a26dd8683104305e
Fetched in submodule path 'libraries/Watterott-Arduino-Libs', but it did not contain 074cae4f4eb94eae1ce83416a26dd8683104305e. Direct fetching of that commit failed.
Original: #58 (comment)
Updating the ESP8266 SDK on the Homie programs to espressif8266@^3
with GH-67 failed at [^1].
When updating to espressif8266@^3
or higher, this happens:
Homie/Boot/BootConfig.cpp:282:20: error: call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)
282 | _httpClient.begin(url);
| ~~~~~~~~~~~~~~~~~^~~~~
*** [.pio/build/esp07/lib5c7/Homie/Homie/Boot/BootConfig.cpp.o] Error 1
-- https://github.com/hiveeyes/arduino/actions/runs/5113969818/jobs/9193750333?pr=67#step:9:267
The programs are still using marvinroger/Homie@^2
, while marvinroger/Homie@^3
is already available. Updating the programs in this repository to use the most recent version of Homie may help on this matter. /cc @Gulaschcowboy, @marvinroger
P.S.: Those commands should get anyone interested to the right spot quickly.
git clone https://github.com/hiveeyes/arduino hiveeyes-arduino --branch amo/update-esp8266-sdk
cd hiveeyes-arduino/homie/node-homie-basic
make
Dear @u-l-m-i,
with #35, I just modernized the program dependencies of node-esp32-generic
. Unfortunately, the build currently croaks with this error:
Library Manager: Installing git+https://github.com/tzapu/WiFiManager.git#development
git version 2.31.1
Cloning into '/Users/amo/.platformio/.cache/tmp/pkg-installing-otczd1x8'...
warning: Could not find remote branch development to clone.
fatal: Remote branch development not found in upstream origin
And it's true, the branch "development
" does not exist anymore.
Do you have an idea what we might be able to do about it?
With kind regards,
Andreas.
With GH-57, we are modernizing our first-generation multi-hop ISM packet radio firmwares, effectively dissolving the previous Makefile-based build tooling using dependency management based on Git submodules, and move on to use PlatformIO exclusively.
We want to send big shoutouts to all the authors of the excellent build tooling which supported the programs in this repository for such a long time, sharing the same spirit that none of us wants to actually use the Arduino IDE, focusing on AVR/Espressif/SAMD/Arduino HAL toolchain setup automation, and reproducible builds instead. Thank you so much! -- with special thanks to the PlatformIO creators and contributors.
/cc @einsiedlerkrebs, @amperka, @nkrkv, @mjoldfield, @sudar, @tuna-f1sh, @peplin, @rpavlik, @matthijskooijman, @ladislas, @plerup, @hoijui, @ivankravets, @valeros
I am also trying to compile the file node-wifi-mqtt.ino
. The following message appears when compiling (I am using the Arduino IDE 1.8.13):
exit status 1
'SerialDebug' was not declared in this scope
What could be the cause?
Using atom I get the message:
C:/ XXXX PlatformIO/Projects/210502-191434-d1_mini_pro/src/node-wifi-mqtt.ino:955:5: error: 'SerialDebug' was not declared in this scope
SerialDebug.debug(INFO, "mqtt_connect", "Connecting to MQTT broker");
Thanks in advance
Hi there,
the Adafruit_MQTT_Library
is available as version 2.4.2 already. However, some of the sketches here are still using version 1.0.3 on behalf of our fork [1]. We might consider updating it to the most recent version.
With kind regards,
Andreas.
I am trying to compile the file "node-esp8266-generic".
Neither under Atom nor with the latest version of the Arduino IDE can the scatch be compiled.
It concerns HX711. When doing #define WEIGHT false
, then it works.
In the meantime I have tried 3 different libraries. Unfortunately without success.
Message from Compiler:
exit status 1
no matching function for call to 'HX711::HX711(const uint8_t&, const uint8_t&)'
What could be the cause?
Hi,
I am facing issue in compilation of ADS1231 Library for Arduino MKR1000 Board. I tried to compile both library (normal and particle one) but i am facing different errors in both cases.
I found that this errors are board specific because it works well for Arduino Yun board.
Can anyone please check for Compatibility for MKR1000 Board.
Hi there,
we tried to roughly sketch out a Firmware based on Terkin-Next (WIP), see also [1]. This might resonate with @marcelgasser.
While working on #39, we found the code [2] would not compile on ESP32. The reason is that the code has been conceived in 2016 already. It would be nice if we could make it work.
With kind regards,
Andreas.
[1] https://hiveeyes.org/docs/arduino/firmware/node-terkin-next/README.html
[2] https://github.com/hiveeyes/arduino/tree/master/node-terkin-next
Hi @bee-mois,
hier im Repository wurde quer durch die Bank die PlatformIO Konfiguration aktualisiert, auch bei Deiner Firmware, auf recht neue Versionen, vermutlich weil ich keine Informationen darüber finden konnte, ob bewusst ältere verwendet werden sollten, und die Firmware auch mit neueren Versionen anstandslos kompilierte.
Siehst Du irgendeine Möglichkeit, wie Du dieses Update u.U. "in echt" testen könntest?
Viele Grüße,
Andreas.
Anbei der status quo. An manchen Stellen lässt sich noch nach oben gehen. Ich habe an manchen Stellen erstmal bewusst frühere Releases ausgewählt.
adafruit/Adafruit TSL2591 [email protected]
adafruit/DHT sensor [email protected]
arduino-libraries/[email protected]
milesburton/[email protected]
paulstoffregen/[email protected]
robtillaart/[email protected]
watterott/[email protected]
https://github.com/hiveeyes/aerowind-ads1231@^0.1.0
Original: #58 (comment)
Updating the ESP8266 SDK on the node-wifi-mqtt.ino
program to espressif8266@^3
with GH-67 failed at 1. It is probably our fault, because we are using other outdated libraries, or such.
After looking into the details, it turns out joaolopesf/SerialDebug might trip the build, as we receive similar error messages like outlined in JoaoLopesF/SerialDebug#20 when updating to espressif8266@^3
.
SerialDebug.cpp:2384:46: error: reference to 'byte' is ambiguous
SerialDebug.cpp:2384:46: error: 'byte' has not been declared
SerialDebug.cpp:2486:61: error: reference to 'byte' is ambiguous
SerialDebug.cpp:5608:21: error: expected primary-expression before '(' token
Regarding this SerialDebug
library, I can find those comments in the changelog of the node-wifi-mqtt.ino
program we are trying to build here:
2017-04-07 Silence debug output by using SerialDebugger to reduce battery drain even more.
2021-05-02 Modernize code by using the SerialDebug library by Joao Lopes and
add build environment based on PlatformIO.
Is it sane? Do we need it for the purposes outlined there, to reduce battery drain even more? Can it be safely removed? Maybe there are better techniques "to turn off logging at runtime" in a similar manner. On the other hand, using the SerialDebug
library may have been utter nonsense ;].
With kind regards,
Andreas.
P.S.: Those commands should get anyone interested to the right spot quickly.
git clone https://github.com/hiveeyes/arduino hiveeyes-arduino --branch amo/update-esp8266-sdk
cd hiveeyes-arduino/backdoor/node-wifi-mqtt
make
I buid ADS1231 library on arduino due. It's error. Can you fix it?. Thank
Coming from GH-27 and [1], we found we do not use the ADS1232 chip at all, yet. What we do use, is the ADS1231 chip, supported by the Arduino library by @aerowind, originally shared on the Arduino forum [3].
It should be pulled into a separate repository, in order to make it easier to consume.
[1] https://community.hiveeyes.org/t/code-fur-ads1231/286
[2] https://github.com/hiveeyes/arduino/tree/main/libraries/ADS1231
[3] https://forum.arduino.cc/t/spi-load-cell-chip-ads1231/128267/6
Through [1], we found the ADS123X library [2] by @HamidSaffari to be the most canonical one these days. It builds upon the HX711 library [3] by @bodge and the ADS1232 [4] by @jeffkub.
Whether this will compile on Arduino Due (#18) and on Arduino MKR1000 (#20) is a different story, but nevertheless we should add the canonical driver to the repository on order to be able to build upon it.
[1] https://community.hiveeyes.org/t/code-fur-ads1232-oder-ads1234/392/13
[2] https://github.com/HamidSaffari/ADS123X
[3] https://github.com/bogde/HX711
[4] https://github.com/jeffkub/beer-gauge/tree/master/firmware/beer-gauge
We recently re-materialized the libDHT library, because it ceased to exist at its prior upstream location. DHTNew seems to be a legit successor. We should switch over.
The latest developments for the DHT sensors are done in https://github.com/RobTillaart/DHTNEW which is also tested on an ESP32. There are some interface differences, these are relative small but can be time critical.
It is advised to upgrade to the DHTNEW library if one needs the new functionality.
-- https://github.com/RobTillaart/DHTstable
-- https://community.hiveeyes.org/t/dht-is-dead-hx711-is-dead/4936/14
When checking the state of the repository, it looks like it is using an outdated version of the HX711 library [1], which we updated through bogde/HX711#123 the other day.
When bringing this up to speed, all code using the library has to be adjusted to account for the updated constructor, see also [2].
[1] https://github.com/bogde/HX711/tree/e80de1c07e990e07627ec215eec9e1efabf281ee
[2] https://github.com/hiveeyes/HX711/blob/spring-cleaning/README.md#deprecation-warning
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.