Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
ChaoticC

Chaotic

@Chaotic
About
Posts
50
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • RGB control
    ChaoticC Chaotic

    I made a night light for my son and just used V_VARs
    I used the fastLED library And this code to decode from 255,255,255 that I was sending from the controller

    https://codebender.cc/sketch:90239

    Last time it came up http://forum.mysensors.org/topic/1148/need-help-with-turning-a-led-on-off-with-openhab-and-mqtt/4

    Development

  • We are mostly using fake nRF24L01+'s, but worse fakes are emerging.
    ChaoticC Chaotic

    @phil83 said:

    Probably we could open a permanent thread where we can post our experiences with different aliexpress shops regarding nrf24l01+?

    I'd be interested to see a list of "good" sellers from aliexpress and not just for the radios. It seems like the store links just point to the cheapest one with free shipping some times. I haven't bought enough stuff to get burnt (7 orders of which 2 have come in and the rest should be in a week or 2) but it is one of the things that keeps me wary.

    Hardware

  • Led Ring ideas?
    ChaoticC Chaotic

    I have the 16 LED version and 5 of the diffused LEDs. So far I've only ended up using 2 of the diffused LEDs for a sleep light for my 4yr old.

    Haven't found any other real uses for them. I've thought of getting some of the strips and doing lighting since then I wouldn't need to replace bulbs/switches but so far I have been unable to get wife approval.

    My Project

  • Repeater and blinking leds [SOLVED]
    ChaoticC Chaotic

    @HarryDutch

    I wasn't saying don't look at the problem. I think Node to Node communication should work.

    It just this comic
    XKCD Comic
    comes to mind

    At a certain point you have to realize you are solving the problem out of principle (which is a valid reason) rather than to solve the problem.

    Troubleshooting

  • Need help with Turning a LED On/Off with OpenHab and MQTT.
    ChaoticC Chaotic

    I just finished something similar. I used a Ws2812B LED so it can change colors.

    Arduino Sketch Code Bender Sketch

    And Openhab items

    Switch Light "On/OFF" (gKR) {mqtt=">[mysensors:/MyMQTT/20/2/V_LIGHT:command:ON:1],>[mysensors:/MyMQTT/20/2/V_LIGHT:command:OFF:0]"}
    String KidLight (All) {mqtt=">[mysensors:/MyMQTT/20/1/V_VAR1:command:*:default"}
    Color  RGBKidLight  "Kid Light"   (All,gKR)
    

    and openhab.rule

    import org.openhab.core.library.types.*
    import org.openhab.model.script.actions.*
    
    
    rule "Set RGB value RGBKidLight"
    when
            Item RGBKidLight changed
    then
    		val hsbValue = RGBKidLight.state as HSBType
    
    		val brightness = hsbValue.brightness.intValue  
    		val redValue   = ((((hsbValue.red.intValue * 255) / 100) * brightness) / 100).toString  
    		val greenValue = ((((hsbValue.green.intValue * 255) / 100) * brightness) / 100).toString  
    		val blueValue  = ((((hsbValue.blue.intValue *255) / 100) * brightness) / 100).toString  
    
    		val color = redValue + "," + greenValue + "," + blueValue  
    
    		sendCommand( KidLight, color )
    end
    
    Troubleshooting rpi gateway arduino mqtt raspberry pi
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular