MySensors 1.5 Released
Master branch on github is now 1.5! This means that we finally made a drop from the (hopefully) stable development branch.
This version should be backward compatible with 1.4 both over-the-air and sketch-vise unless you use the constructor arguments which has changed to cope with a more flexible architecture.
So you can safely update one node (or gateway) to 1.5 without affecting the rest of your radio network.
Here are some of the new stuff (we have probably talked about most of it already on the forum):
- Message signing using ATSHA204 hardware or software driver
- Multiple radio transport driver architecture
- RFM69 radio support
- Support for multiple hardware layers (ATMega328 default implementation)
- New sensors: RGB, RGBW, Color, Multimeter, HVAC, Sprinkler, Water leak, Sound, Vibration, Moisture
- New variables: Voltage, Current, RGB RGBW, Id, Unit prefix, Setpoint, Level
- Allow indication LEDs (tx,rx,err) on sensors
- Sensor presentation description message
- OTA updates using on-board flash (and DualOptiboot bootloader)
- Allow SOFTSPI configuration from MyConfig.h
I'm having problems getting the codebender examples up and running with 1.5. Hopefully I'll get some support on this soon.
elite last edited by
Congrats on the release - and thanks for all the hard work
Congrats too! lots lots of fun in perspective...
barduino last edited by
Wow...great stuff Hek.
@hek Good move! Thanks!
Francois last edited by
Great work thanks for all the hard work you putting in to this Hek and team
Qu3Uk last edited by Qu3Uk
When you say backwards compatible does this include a 1.5 sensor talking to a 1.4 gateway? I'm assuming not.
Can't wait to update though. I'm working on an RGB light so this is cool.
@hek I hope you haven't change fields order this time, backward compatibility is a must !
Didi last edited by
Master branch on github is now 1.5!
diggs last edited by
looking forward to trying the new release.
One question, it mentions the new sensors, where would I find the "multimeter" sensor? Had a look but could not see anything
New sensors: RGB, RGBW, Color, Multimeter, HVAC, Sprinkler, Water leak, Sound, Vibration, Moisture
I haven't made sketch-examples for all new sensor types yet. The community needs to help me with that.
@hek and team. congratulation on new milestone.
Congratulations to you and all contributors! I will try to update the plugin asap.
Yeeeeeee Haaaaaaaw :bowtie:
@hek I have them all already:
Water leak,Moisture : my leaf wetness
Sound: I have stopped by waiting to have a real decibel algorithm... but I need FFT for that...
Vibration: done it too help yourself !
Thanks, I'll take a look at them and possibly lift them into the examples folder.
For the flood sensor, what kind of conductivity probe are you using.
@hek: two conductors well anything you want here it is binary logic, you don't need to mesure the resistance to know how wet it is ...
oded00 last edited by
What is the best practice to upgrade from 1.4?
i'm using vera
As said above.. you don't need to update everything in one big bang unless you want to use the new features. Add new sensors with the updated library if you want.
@hek seems there is something to correct http://forum.mysensors.org/topic/1729/updated-support-to-serial-version-1-5
Already talked to @John. Will update documentation more clearly that V_DIMMER and V_LIGHT has been deprecated for the more general wording V_PERCENTAGE and V_STATUS.
The old sketches will still work fine as I've introduced an alias.
I think i was too fast with committing my updates which creates new downloads automatically (sorry if it was too quick), so I had to do a post just in case of some "eager to update" user i have.
sebas last edited by
Very nice. How do I find out how the new sensor types work? Specifically the RGB and RGBW sensors.
I've browsed through the source code but haven't found it yet. What file should I be looking into?
gbfromhb last edited by
Very cool. The timing was perfect. I was just about to jump into the deep end and start deploying the development branch. Thanks everyone for the hard work.
Guess I'll have to toss an RGB example together some day. But basically the payload should be a ascii hex string describing the color components. I.e "FF0000" for red.
Sweebee last edited by
I'm trying to burn the gateway but i get this:
/Users/Wiebe/Documents/Arduino/libraries/MySensors/MyGateway.cpp:13:30: fatal error: utility/MsTimer2.h: No such file or directory #include "utility/MsTimer2.h" ^ compilation terminated.
diggs last edited by
No worries, thanks for clarifying
I have to say, the documentation for the update to 1.5 was done very well... thanks to you and whomever else assisted.
Thanks, but still room for improvements.
@Anticimex is currently deploying a jenkins build-server to automate builds of the examples for different platforms when things get pushed to github. Makes it much easier to keep up the quality.
This will also allow automatic doxygen documentation and perhaps a bit of a rearrangement of the repository layout which isn't optimal (except when downloading/installing).
msebbe last edited by msebbe
@hek I have updated my gateway but should the vera say plugin version 1.5? Or is the plugin version still 1.4? Im confused
Lib Version: 1.5
So I guess the 'plugin' refers to the lua/xml/json files in Vera.
msebbe last edited by
I got it working now, thank you
Haven't bumped plugin version. No major things changed over there.