Coder Social home page Coder Social logo

mysensors / mysensorsarduinoexamples Goto Github PK

View Code? Open in Web Editor NEW
150.0 150.0 277.0 3.03 MB

MySensors examples using external library dependencies

C++ 52.79% Processing 5.90% C 30.01% Objective-C 0.35% HTML 8.80% CSS 0.71% Perl 0.23% JavaScript 1.22%

mysensorsarduinoexamples's Introduction

MySensors Library v2.4.0-alpha

Please visit www.mysensors.org for more information

Current version in Arduino IDE arduino-library-badge

Documentation

master development

CI statuses

Current build status of master branch: Build Status

Current build status of development branch: Build Status

Current build status of master branch (nightly build of Arduino IDE): Build Status

Current build status of development branch (nightly build of Arduino IDE): Build Status

mysensorsarduinoexamples's People

Contributors

bekkie avatar cravecode avatar dbemowsk avatar dmacias72 avatar flatsiedatsie avatar flopp999 avatar henrikekblad avatar itbeyond avatar martinhjelmare avatar mfalkvidd avatar mhansen avatar mkaiser avatar mozzbozz avatar petewill avatar tbowmo avatar tekka007 avatar yveaux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mysensorsarduinoexamples's Issues

Use the Arduino Library Manager Depends feature

ARDUINO 1.8.10 2019.09.13 added the following feature

  • Libraries can now declare dependencies that will be proposed during lib installation

It would be nice if we could use this feature and remove the forked libraries from this repo. There doesn't seem to be a way to specify which versions are compatible though.

MY_LEDS_BLINKING_FEATURE deprecated - GatewayENC28J60 needs update

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10808 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IR:\\Documents\\Arduino\\libraries\\UIPEthernet" "-IR:\\Documents\\Arduino\\libraries\\MySensors" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\Micke\\AppData\\Local\\Temp\\ArduinoBuild\\sketch\\GatewayENC28J60.ino.cpp" -o "C:\\Users\\Micke\\AppData\\Local\\Temp\\ArduinoBuild\\preproc\\ctags_target_for_gcc_minus_e.cpp"
In file included from C:\Users\Micke\AppData\Local\Temp\arduino_modified_sketch_69927\GatewayENC28J60.ino:92:0:

R:\Documents\Arduino\libraries\MySensors/MySensors.h:114:2: error: #error MY_LEDS_BLINKING_FEATURE is now removed from MySensors core,define MY_DEFAULT_ERR_LED_PIN, MY_DEFAULT_TX_LED_PIN orMY_DEFAULT_RX_LED_PIN in your sketch instead to enable LEDs

 #error MY_LEDS_BLINKING_FEATURE is now removed from MySensors core,\

  ^

Using library UIPEthernet at version 2.0.6 in folder: R:\Documents\Arduino\libraries\UIPEthernet 
Using library MySensors at version 2.3.2-beta in folder: R:\Documents\Arduino\libraries\MySensors 
Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI 
exit status 1
Error compiling for board Arduino Pro or Pro Mini.

GatewayENC28J60 Sketch fails to compile with DHCP

It only compiles if the define for MY_IP_ADDRESS is uncommented. So to reproduce, just comment it (and the other two MY_IP_...)
Output:

C:\Users\User\AppData\Local\Temp\ccceJW4d.ltrans0.ltrans.o: In function `gatewayTransportConnect()':

W:\sketches\libraries\MySensors/core/MyGatewayTransportMQTTClient.cpp:171: undefined reference to `UIPEthernetClass::begin(unsigned char const*)'

collect2.exe: error: ld returned 1 exit status

Error compilando para la tarjeta Arduino/Genuino Uno.

NOT an ISSUE! Just ask if something can work with my Mitsubishi MSZ-FD25VA?

Dear Sir,
could you please tell me if some of your project/library are suitable for my
Mitsubishi MSZ-FD25VA?

The "MySensorsArduinoExamples/examples/HeatpumpIRController/" has Mitsubishi option, but works with my MSZ-FD25VA that has AREA,CLEAN, PLASMA etc. etc. options not standard in all A.C. ? )

Thanks in advance!

HTTP_GET

boolean Adafruit_FONA_3G::HTTP_GET_start(char *ipaddr, char *path, uint16_t port
uint16_t *status, uint16_t *datalen)

Please help in writing a sample for this. Also this part is in comment state. is there any issue with the library

The DHT library forked from original source, documentation needs updated.

In PR #1, the DHT library was altered (see commit: e97ae9e).

The documentation for the DHT library in the README.md file says to download and install in your libraries. The suggested download location refers to the old unmodified version from the original author's GH DHT repo.

What is the suggested protocol for using contributed and potentially forked libraries that are in this repo's /libraries directory?

I don't mind creating a PR to update the documentation. I just want to understand what the correct procedure regarding contributed libraries should be.

getConfig renamed between 2.1.0 and 2.1.1

error: redefinition of 'void indication(indication_t) in BinarySwitchSensorIndication

I'm getting this error message when trying to compile BinarySwitchSensorIndication:

R:\Dropbox\ArduinoSketches\libraries\MySensorsArduinoExamples\examples\BinarySwitchSensorIndication\BinarySwitchSensorIndication.ino: In function 'void indication(indication_t)':

BinarySwitchSensorIndication:106:6: error: redefinition of 'void indication(indication_t)'

 void indication( const indication_t ind )

      ^

In file included from R:\Documents\Arduino\libraries\MySensors/MySensors.h:125:0,

                 from R:\Dropbox\ArduinoSketches\libraries\MySensorsArduinoExamples\examples\BinarySwitchSensorIndication\BinarySwitchSensorIndication.ino:40:

R:\Documents\Arduino\libraries\MySensors/core/MyIndication.cpp:47:6: note: 'void indication(indication_t)' previously defined here

 void indication(indication_t)

      ^

Using library Adafruit_NeoPixel at version 1.1.7 in folder: R:\Documents\Arduino\libraries\Adafruit_NeoPixel 
Using library MsTimer2 at version 1.1 in folder: R:\Documents\Arduino\libraries\MsTimer2 
Using library MySensors at version 2.3.2-beta in folder: R:\Documents\Arduino\libraries\MySensors 
Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI 
Using library Bounce2 at version 2.52 in folder: R:\Documents\Arduino\libraries\Bounce2 
exit status 1
redefinition of 'void indication(indication_t)'

Dimmer only turns 100°

When running this sketch, the servo only turns 100° of rotation.

I was able to rectify by changing the following line:
myservo.write(SERVO_MAX + (SERVO_MIN-SERVO_MAX)/100 * 1.8 * val); // sets the servo position 0-180

Always fail sending

Hi, I can't send any messages to my phone because it always enters the "Failed" part of this

message.encode(ndefBuf); if (0 >= nfc.write(ndefBuf, messageSize)) { Serial.println("Failed"); } else { Serial.println("Success"); }
How can I fix?

Node is not going to Sleep with this Sketch.

MySensorsArduinoExamples/examples/DallasTemperatureSensor/DallasTemperatureSensor.ino

It constantly consumes between 17-18mA, without going to sleep. Sending works with the defined milliseconds, but between Sending it is not sleeping.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.