Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. LastSamurai
    3. Topics
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by LastSamurai

    • LastSamurai

      Is there any way to make signing faster?
      General Discussion • • LastSamurai  

      4
      0
      Votes
      4
      Posts
      1089
      Views

      Anticimex

      @LastSamurai I am afraid so. Or rely on encryption.
    • LastSamurai

      Define Mysensor (rgbw) Things in openhab2
      OpenHAB • • LastSamurai  

      2
      0
      Votes
      2
      Posts
      1927
      Views

      LastSamurai

      Ok I'll answer my question here as I found the error with some help: it has to be nodeId // not nodeID
    • LastSamurai

      Make MySensor network nodes detectable/scanable
      Feature Requests • • LastSamurai  

      4
      0
      Votes
      4
      Posts
      1373
      Views

      LastSamurai

      Ok, thank you!
    • LastSamurai

      RGB(W) lights with Home Assistant
      Home Assistant • • LastSamurai  

      3
      0
      Votes
      3
      Posts
      1605
      Views

      LastSamurai

      Ah perfect! Nice to hear that. I'll give home assistant a try then.
    • LastSamurai

      Push V_Text value update from Domoticz to MySensors node
      Domoticz • • LastSamurai  

      6
      0
      Votes
      6
      Posts
      2951
      Views

      LastSamurai

      I already have (in a github issue). Didn't get any answer yet. I am currently trying to simply use some other type of sensor (as I just need to send an integer) but none of them have really worked yet.
    • LastSamurai

      Adding a local RCSwitch to a serial gateway crashes it
      Development • • LastSamurai  

      8
      0
      Votes
      8
      Posts
      3415
      Views

      LastSamurai

      OK newest update: my gateway stop working at all today. I did not even get any reactions on the serial port. So I tried to reprogram it => no reaction either. I had to manually reflash the bootloader and load the normal gateway sketch (without the 433Mhz stuff again). So I guess there is some kind of overflow somewhere caused by the code. The normal gateway sketch runs without any problems. No idea where the error is yet.
    • LastSamurai

      How to best set up a bigger mysensors installation
      General Discussion • • LastSamurai  

      12
      0
      Votes
      12
      Posts
      2257
      Views

      Jan Gatzke

      I always got the same behavior. The ID should never change after it was first assigned, You need to flash the erase eeprom sketch to get rid of it.
    • LastSamurai

      ESP8266/NodeMCU Gateway LEDs
      Hardware • • LastSamurai  

      3
      0
      Votes
      3
      Posts
      1623
      Views

      mfalkvidd

      @LastSamurai many of the esp8266 pins are special. I have run into a lot of trouble when using the ones that aren't marked as "safe" to use in Kolban's book. Some more information: https://forum.mysensors.org/post/63039 https://forum.mysensors.org/post/49193
    • LastSamurai

      Finalizing my very simple gateway
      Hardware • • LastSamurai  

      3
      3
      Votes
      3
      Posts
      1316
      Views

      LastSamurai

      I have finally found the time to upload the project here. I really like it so far although I am still trying to make it even better
    • LastSamurai

      Model for arduino Nano
      KiCad • • LastSamurai  

      5
      0
      Votes
      5
      Posts
      3398
      Views

      Jeaneldredge

      For a very long time I’m looking for an application where the NRF24L01 + will be, but I can’t find it. So if someone tells me I will be grateful.
    • LastSamurai

      [forum] Nav-dropdown bar not displaying correctly
      Bug Reports • • LastSamurai  

      2
      0
      Votes
      2
      Posts
      1004
      Views

      hek

      Hmm.. I didn't even know that feature was available. Must be something new since the last update. I've made some css changes (one file which is applied regardless of theme selected) to allow the main site header, but I only adapted this for the default theme. Would be really hard to make this work for all themes as they have different font sizes and behaviour.
    • LastSamurai

      MQTT Gateway Init:TSP Fail [solved]
      Troubleshooting • • LastSamurai  

      5
      0
      Votes
      5
      Posts
      7914
      Views

      LastSamurai

      PS Tried another radio (again) and another usb Port to power it and now everything is working. Thank you
    • LastSamurai

      The mysterious case of overly active motion sensors
      Hardware • • LastSamurai  

      1
      0
      Votes
      1
      Posts
      785
      Views

      No one has replied

    • LastSamurai

      MQTT MySensors gateway via serial/ESP8266
      Hardware • • LastSamurai  

      4
      0
      Votes
      4
      Posts
      1156
      Views

      LastSamurai

      @mfalkvidd Thank you, I guess I will use the ESP then. Or perhaps I will try to write a script to use MQTT with the serial gateway... why add another network layer (WiFi) if you don't have to...
    • LastSamurai

      A good locking switch/button for "oldschool" mysensor-device control
      Hardware • • LastSamurai  

      23
      0
      Votes
      23
      Posts
      7588
      Views

      Nca78

      Just made a MySensors PCB for the "VHOME" touch switch/remote from Aliexpress
    • LastSamurai

      SPI.h is missing in the examples
      Development • • LastSamurai  

      2
      0
      Votes
      2
      Posts
      2068
      Views

      mfalkvidd

      @LastSamurai looks like there was a bug in thr Arduino IDE, see https://github.com/mysensors/MySensors/issues/601 Try upgrading the IDE and see if it helps.
    • LastSamurai

      What kind of capacitor is need for the NRF24L01+
      Hardware • • LastSamurai  

      7
      0
      Votes
      7
      Posts
      9550
      Views

      Nca78

      You cannot skip the capacitor when using a radio with a CR2032. Just use a good quality ceramic one to limit the losses.
    • LastSamurai

      KY-40 rotary encoder
      Hardware • • LastSamurai  

      10
      0
      Votes
      10
      Posts
      4324
      Views

      korttoma

      @vladimir there is an example for using rotary encoder on this page: https://www.mysensors.org/build/dimmer
    • LastSamurai

      Links to openhardware.io
      Feature Requests • • LastSamurai  

      7
      0
      Votes
      7
      Posts
      1514
      Views

      LastSamurai

      @hek said: Someone just needed to kick my butt. Always glad to do that
    • LastSamurai

      PIR sensor starts to trigger constantly after some time
      Troubleshooting • • LastSamurai  

      11
      0
      Votes
      11
      Posts
      4335
      Views

      abmantis

      @LastSamurai Here is the code for my PIR and Light sensore node: https://github.com/abmantis/MySensors-Sketches/blob/master/MotionLightSensor/MotionLightSensor.ino It is a bit complex, sorry. Also, ignore the temperature parts since that is a WIP and is untested.
    • LastSamurai

      Verify fail error after upgrading to Mysensors 2 and adding signing
      Troubleshooting • • LastSamurai  

      12
      0
      Votes
      12
      Posts
      2309
      Views

      Anticimex

      @LastSamurai serial number is only used for whitelisting. If you use soft signing you need to configure the personalizer to store it and it should be unique for every sensor board. If any node (or gateway) require whitelisting, your node will use the serial as salt for the signature and the receiver will look up the serial in its local whitelist if it finds a match for the node ID of your node and do the responding salting to verify the signature. I'm other words, if you use whitelisting, you have to match the whitelists with the serials of the nodes that communicate. The signing documentation describes how to do this. From your logs, however, I would say it is a hmac mismatch. The verbose debug will show if serials could have been the problem. Typically by asking if the sender is in the whitelist.
    • LastSamurai

      How to keep sensor ID when upgrading
      Troubleshooting • • LastSamurai  

      6
      0
      Votes
      6
      Posts
      1231
      Views

      LastSamurai

      Ah, great hint! It seems like I have to change the high fuse to "Preserve EEPROM memory through the Chip Erase cycle" (see fuse calculator). I will try that out.
    • LastSamurai

      Good looking rotary encoder with push button
      Hardware • • LastSamurai  

      4
      0
      Votes
      4
      Posts
      1753
      Views

      korttoma

      I built a dimmer for my sons bedside lamp -> https://forum.mysensors.org/topic/4808/dimmable-led-actuator/15
    • LastSamurai

      "on top" light switches and cheap IOT hardware
      Hardware • • LastSamurai  

      10
      0
      Votes
      10
      Posts
      2902
      Views

      LastSamurai

      @AWI said: @LastSamurai I can find a lot of these even on main stream sites Thanks a lot! My bad, I did look for KaKu (and overlooked the NL part ).
    • LastSamurai

      Cheap but effective cable connectors to upgrade my projects
      Hardware • • LastSamurai  

      5
      0
      Votes
      5
      Posts
      1764
      Views

      LastSamurai

      @chrille Thanks, so a higher quality tools seems to be the better choice (like always^^). Does anyone else have any ideas?
    • LastSamurai

      Powering a node with (18650) lithium batteries
      Hardware • • LastSamurai  

      5
      0
      Votes
      5
      Posts
      2509
      Views

      LastSamurai

      @mfalkvidd Thanks! As energy harvesting doesn't seem to be "there" quite yet I will stick with both coincells and the 18650 lithium batteries as alternatives for my project (depending of the needed energy and space constraints of the single boards). Rechargeable or harvested power seems to be the only good solution for larger quantities of sensors in my opinion. Does anyone of you know where to buy cheap 18650's that don't explode and don't lie too much about their capacity
    • LastSamurai

      Different atsha204a
      Hardware • • LastSamurai  

      5
      0
      Votes
      5
      Posts
      1009
      Views

      scalz

      hi. mysensors is compatible with sot version only for the moment. other package not yet if I'm right. sot version isn't i2c sot version use one pin only.
    • LastSamurai

      DYP-ME003 on a coin cell / 2xaa battery
      Hardware • • LastSamurai  

      2
      0
      Votes
      2
      Posts
      848
      Views

      scalz

      Hi. I have not so much experience with pir modules. I use an homemade pir, which works well and I am doing my own software for programmable features like nb of pulses for validating a trigger, blindtime etc..And it's a coincell board without any regulator, so.. But in your case, what I would do..(and it's easier with a scope !), is: LC filter, and you could add one capa before inductor too in some case, and maybe in this case, it's better to place the LC filter near the chip you want to clean (like radio or your pir module for instance). This is when you have enough room. But when you have not enough room, so it's easier to place the LC filter just after the booster, for all the board. use a good PSRR etc LDO for you PIR module. I think if you power directly the PIR module from the booster, without LDO that could be difficult..because of the mV PIR variation of analog part. Having a good ldo could help to smooth a bit too.. adding multiple, different small capa value near your pir module, for smoothing some frequencies...And you could add a 100u to absorb some voltage fluctuations too. So, you have to choose values for capa vs frequencies you want to filter. And another thing too, you need to choose the right inductor, they are not all equal..(datasheets curves and frequencies you want to filter ...) I hope this helps a bit
    • LastSamurai

      New PCB: Power IR Sensor with boost converter / Signing support questions
      Hardware • • LastSamurai  

      3
      0
      Votes
      3
      Posts
      843
      Views

      LastSamurai

      Well it looks like that doesn't help Btw I am using the "normal" cheap 5V ones from ebay but soldered the 3.3V directly to teh small "H" pad at the side (worked without problems from a good power source). Any other ideas guys?
    • LastSamurai

      Control leds with a mosfet
      Hardware • • LastSamurai  

      7
      0
      Votes
      7
      Posts
      4309
      Views

      LastSamurai

      Thanks for your help guys. Got it up and running now I used the pulldown resistors but did not use the current limiting resistors at the gates. Afaik you don't really have to but I will add them in my next version. @Admin I think it would be a great idea to update the build part for the leds to also use these resistors and perhaps add some text for RGB(W) leds as there is support for them now.
    • LastSamurai

      Login openhardwareio with mysensors data
      General Discussion • • LastSamurai  

      7
      0
      Votes
      7
      Posts
      1315
      Views

      LastSamurai

      @hek Thank you, it's working again. Glad I could help (finding a bug )
    • LastSamurai

      NRF24L01+ smd schematics
      KiCad • • LastSamurai  

      18
      0
      Votes
      18
      Posts
      10763
      Views

      tbowmo

      @emc2 I updated the footprint on github (and yes, I also chose the easy route, and swapped pins 1 and 2 on the footprint)
    • LastSamurai

      Coin cell based small sensor node / handsoldering smd parts
      Hardware • • LastSamurai  

      18
      0
      Votes
      18
      Posts
      4835
      Views

      LastSamurai

      @scalz Thanks a lot! I sure do. It's great to see that others (which gave me a lot of help here) can use my work too @carmelo42 Thank you too! Here is the link. They are running just fine like this but remember that the CR2032 battery holder mounting holes on the pcb aren't perfect yet (see project page).
    • LastSamurai

      How to best power nrf+arduino (from 12V)
      Hardware • • LastSamurai  

      8
      0
      Votes
      8
      Posts
      3316
      Views

      LastSamurai

      Ok the issue seems to have been a broken AMS. I just finished a second pcb and that one is working. The AMS gets hot but not so hot that you can't touch it any more. Seems to work now Now I just have to test the lighting part
    • LastSamurai

      Can't reprogram my pro mini
      Troubleshooting • • LastSamurai  

      14
      0
      Votes
      14
      Posts
      4524
      Views

      mfalkvidd

      Great news! Thanks for reporting back.
    • LastSamurai

      Install kicad mysensor components
      KiCad • • LastSamurai  

      23
      1
      Votes
      23
      Posts
      11494
      Views

      Jan Gatzke

      @mfalkvidd Thx, this definitly saves some Google time.
    • LastSamurai

      Synchronizing actions between nodes
      General Discussion • • LastSamurai  

      9
      0
      Votes
      9
      Posts
      1974
      Views

      LastSamurai

      @sundberg84 said in Synchronizing actions between nodes: @LastSamurai - are you using the webgui to switch? I think its rather quick using a motion detector -> light/relay. Using the gui though takes 2-3 sec. I am using both, the web ui, and a motion detector node + a rule setup in domoticz using dzVents. For the motion sensor its hard to tell how fast the reaction is though, because I don't know the exact range of it. Perhaps I'll try with a button node next, just for testing purposes. PS and the ui isn't that slow. Sometimes it takes a little longer but mostly just ~half a second.
    • LastSamurai

      Find parent
      Troubleshooting • • LastSamurai  

      8
      0
      Votes
      8
      Posts
      3258
      Views

      hek

      @mfalkvidd said: in MyConfig.h you should be able to define it in your sketch before #include <MySensor.h> Overriding defines from sketch only work in the development branch. It requires a source code inclusion "hack" that's not in place for 1.5.x.
    • LastSamurai

      Cheap & good boost converter and good temperature sensors
      Hardware • • LastSamurai  

      8
      0
      Votes
      8
      Posts
      2198
      Views

      Igor Katkov

      With regard to 5V periphery I ordered [1] http://www.aliexpress.com/snapshot/7243167912.html [2] http://www.aliexpress.com/snapshot/7248371073.html Both have quite high cut off voltage i.e. they will not boost if voltage drops below certain value, I believe i's like 2.4V #2 refused to work with my servo motor at all, so I don't recommend it. #1 is sort of OK but you need 3 AA cells to make a good use of it unfortunately.
    • LastSamurai

      PI won't restart / 100% CPU
      Domoticz • • LastSamurai  

      3
      0
      Votes
      3
      Posts
      1455
      Views

      LastSamurai

      @sundberg84 Yes, thank you. I have just reflashed to another sd card hoping that it runs fine now (and it does for now). I will check the domoticz version later. I am currently running 2.3530, although I don't know if thats the same one as before the crash. I just did not know what else to do when I cound't reach the pi via ssh^^ Bad idea I guess.
    • LastSamurai

      Atmega Chip Programmer
      General Discussion • • LastSamurai  

      3
      0
      Votes
      3
      Posts
      1340
      Views

      LastSamurai

      Ah that makes sense! Sometimes you forget the easiest parts^^ I guess I will try the nano first, the other one is quite expensive (>= 30€)
    • LastSamurai

      Flash Arduino pro mini and change fuses
      Hardware • • LastSamurai  

      6
      0
      Votes
      6
      Posts
      6037
      Views

      LastSamurai

      @m26872 said: I've low power hacked APM and bare bone 328p. As I think I've linked from here, at 1MHz (internal) 9600 baud was the maximum and each baud rate required their own bootloader version. To do it easy I just used precompiled Optiboot for this. Thanks you, thats a very interesting read! I will try some of that myself.
    • LastSamurai

      How to (correctly) use the pro mini with batteries
      Hardware • • LastSamurai  

      6
      0
      Votes
      6
      Posts
      3624
      Views

      tbowmo

      If you are going to let the node go into sleep between sensor readings (f.ex. Wakeup every 5 minutes or so) you don't need the troubles of switching to 1Mhz. When you sleep the atmega, you also turn off the oscillator for the MCU. So it doesn't use any power. In fact one could argue that it will result in a longer wake time if you are running at 1Mhz instead of 8Mhz, due to the slower execution speed. And so it could end up using the same amount of power, as when running on 8mhz. This is however untested/unverified, and just a theory that I have..
    • LastSamurai

      How to publish projects build on top of MySensors (library)
      General Discussion • • LastSamurai  

      5
      0
      Votes
      5
      Posts
      1536
      Views

      LastSamurai

      @LastSamurai said: I love the project and I want to "steal" your work. I just realised that I forgot the "don't" there. I fixed that.
    • LastSamurai

      Of 2 sensors on a node only one reports values
      Domoticz • • LastSamurai  

      11
      0
      Votes
      11
      Posts
      3981
      Views

      malarcy

      I can confirm that the mysensors "adapter" for domoticz does not update anything for a sensor if the value has not changed - including last seen time. There has been a bit of a discussion about it and I have a bug and feature request in for it to be a configurable choice for the user - but as it stands - if no change in value then update is ignored. I modified the mysensors adapter code to always update - even if values haven't changed - but that isn't really a long term solution since it gets overwritten on every update. https://www.domoticz.com/forum/viewtopic.php?f=42&t=9272
    • LastSamurai

      MySensors shield and RGBW Controller
      Hardware • • LastSamurai  

      66
      1
      Votes
      66
      Posts
      32107
      Views

      TRS-80

      @LastSamurai, Very nice project you have here! Thank you for taking the time to post/share your work! At first I thought it might be exactly what I was looking for, but reading through everything now I am not so sure. I have been studying various ways (Wi-Fi, 433/315 Mhz RF, MySensors) to implement controlling RGB lights and I initially thought Wi-Fi (while readily available, easy, and cheap) might be too "slow" in response time, which got me thinking to use MySensors (with NRF24) instead, which led me to this thread (among others). Something concerned me though, I see in your GitHub for this project you stated: Project frozen/final - This project is done from my side. It has been working for years but I switched to another solution so I won't update this anymore. and on your OpenHardware page: Update2: They have been running for about 2 years now mostly without problems. The only disadvantage is that my Mysensors network overall is quite "slow" (~1s reaction time). I am currently experimenting with Wifi RGBWW controllers (H801) so there wont be to many more updates to this project Which made me want to ask you what you are using now? It seems to me that those MagicHome type Wi-Fi (or RF) RGB controllers would be pretty hard to beat price wise, I don't think I could implement similar functionality (including packaging, etc.) for the same amount of money, and that's before even counting my time. Also I am still struggling with reliability of my MySensors network in general, but I hope to be able to still solve this as it seems that many others have been able to (but that is a different subject altogether).
    • LastSamurai

      RGBW Example
      Homeseer • • LastSamurai  

      14
      1
      Votes
      14
      Posts
      9830
      Views

      LastSamurai

      Thanks for the help. I got it to work. I posted a link to the code over here.
    • LastSamurai

      Connect openhab on a raspberry to and arduino running the serial gateway
      OpenHAB • • LastSamurai  

      2
      0
      Votes
      2
      Posts
      2547
      Views

      LastSamurai

      Ok I found the error. I may or may not have forgotten to add the serial addon It is strange though that you get no kind of error message without that...
    • LastSamurai

      Use arduino Uno as serial gateway/ sensor node
      General Discussion • • LastSamurai  

      4
      0
      Votes
      4
      Posts
      2264
      Views

      Mohsin Hassan

      Hello, I just started off trying to make a few sensors, Just like you i only had uno's and pro mini and no nano. Read this article and thought everything would be fine, but. So i loaded up the sketch onto an uno and plugged it into my vera loaded the files but Vera Serial port configuration dosent detect anything. Any idea how to get that working?