Navigation

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

    Posts made by NotTooTechy

    • RE: How to control four relays

      @fleinze said:

      I think you can do this with a lua script on domoticz:

      Thanks, but I have dumped Domoticz and will go with my own Pascal program and serial controller. It's still way too early days for any useful Controllers, although OpenHab 2 seems to be finally getting the memo. Controllers have to be more than just pretty graphs and buttons to be called a controller. Right now they are not much more than software switches.

      Did you notice that Domoticz calls home two times every time you start it? I blocked that in my router. 🙂

      posted in Domoticz
      NotTooTechy
      NotTooTechy
    • V2.0 and Serial Gateway, can't seem to send from PC

      1 -Nano+DHT
      #define MY_NODE_ID 10
      1 -Nano + 4-relays pins 5,6,7,8
      #define MY_NODE_ID 12
      1 -Nano SerialGateway
      I assume it is Node 0?
      1 -PC puTTY
      I am getting a steady stream of data from the DHT, all good. But, I can't seem to get the relays to do anything when I send from puTTY

      12;1;1;1;0;1+ 0A <-- just the character appended
      as in with no spaces
      12;1;1;1;0;1A

      There is nothing much in Serial gateway 2.0, do I need to include the "Serial Event" etc?

      Some sample code would be a great help.

      Thanks

      posted in General Discussion
      NotTooTechy
      NotTooTechy
    • RE: Cant get I2C LCD working

      Is there a jumper on the two pins at the other end of the serial board on the back? My most recent ones came withOUT those and I get no back-light or red-LED on the serial board until I put a jumper on them.

      posted in General Discussion
      NotTooTechy
      NotTooTechy
    • RE: Cant get I2C LCD working

      **Found 0 device(s).

      Are you sure you have it all wired correctly?
      SDA goes to ANALOG pin 4
      SCL goes to ANALOG pin 5

      Also, looking at your first Post I don't think 0x20 is a valid address for LCD. Try the two I posted above one-at-a-time and don't forget the Contrast pot on the back, the little blue block.

      I will try YourDuino and see what I get.

      p.s.
      POSITIVE being in all caps suggests it is a Global predefined Constant so just use it EXACTLY as I provided above. Copy, paste and try one at a time.

      posted in General Discussion
      NotTooTechy
      NotTooTechy
    • Add LF to Serial Gateway text?

      Is there a configuration option to add line feeds to each line? I am using a windows program to read the serial port data and lack of line feeds is driving it nuts. I can't find anywhere to add LF but the text coming in definitely only have 0x0A on the end. I understand that is a C-thing but I need a Windows thing. 🙂

      posted in General Discussion
      NotTooTechy
      NotTooTechy
    • RE: Cant get I2C LCD working

      Just a similar issue some new LCD s arrived and swapped them into an existing working Sketch and got nothing

      I was using "0x27" so tried "0x3F" and I got back light, good start. Then turned the little pot (Contrast) on the back a bongo, text. All good.

      LiquidCrystal_I2C lcd(0x27,2,1,0,4,5,6,7,3,POSITIVE); // Set the LCD I2C address
      LiquidCrystal_I2C lcd(0x3F,2,1,0,4,5,6,7,3,POSITIVE); // Set the LCD I2C address

      posted in General Discussion
      NotTooTechy
      NotTooTechy
    • How to control four relays

      How do I get Domoticz to control the relays for a swamp cooler? I have a four relay board for Fan-High/Off, Fan Low/Off, Pump On/Off, and Purge Pump On/Off. I currently have an Arduino sketch controlling the relays using a direct wired DHT NOT using MySensors at all and it is working well, but difficult to make changes as it is all mounted inside the swamp housing.

      The plan is to use the MySenors-DHT to send temp/Humidity to Domotics and then have it control the relays with a dumb Mysensors Relay-Sketch on the swamp.

      The change over between fan-speeds needs a delay of about 6-seconds to save undue load when changing speed up/down. That's how it worked from new so the manufacturer thinks it is a good idea.

      I need Domotcz to watch the temp and when it is above the desired set point, turn the Pump on, the Fan on High for about ten minutes then check the temp and see if it needs to go Low or stay High. It needs to run for about ten minutes between each speed change to balance the temps throughout the house. I tried just running off the temp changes but it was hunting badly. It needs some form of Hysteresis and the fixed run time serves both purposes for that.

      I want to also use the same MySensors-DHT to control baseboard heating in Winter and another set of four relays at the main power board. But first I need to understand how to get Domoticz doing the swamp control. IF Domoticz is capable of doing that. I know OpenHab can, but the programming overhead for that is disgraceful!

      posted in Domoticz
      NotTooTechy
      NotTooTechy
    • RE: Adding devices - how?

      Thanks, my mistake, did not have the things configured correctly. I now have three devices visible. Two are shown correctly, the first as Light (relays) and the other Temp/Humidity (DHT) but the Gateway is showing as "Temp" but I guess I can ignore that.

      I will start a new thread on what I am trying to do now that the three Arduinos are all visible in Domoticz.

      posted in Domoticz
      NotTooTechy
      NotTooTechy
    • Adding devices - how?

      I have just installed Domoticz and added hardware as a DHT sensor and using the serial gateway. I have read the docs PDF, but can't find anything on adding details to make it work. In the Devices page it shows "DHT-sensor" and a blue button with "Settings" but cannot find where or what to do to make it work.

      Could someone point me at some instruction. Thanks

      posted in Domoticz
      NotTooTechy
      NotTooTechy
    • Forum Creation here is nuts

      MySensors people / Webmaster !!
      Who thought fixing the editing box to the bottom left corner of the screen was a good idea?

      Read here!
      http://www.healthycomputing.com/office/setup/monitor/

      This is making my neck ache.

      posted in General Discussion
      NotTooTechy
      NotTooTechy
    • Some clarification on Presentation, Set, Req et al

      Probably a stupid thing, but I am trying to work out the correlation between "presentation" and "set req"

      I understand the Presentation is a notification of sorts to the main system, but am unsure what I should be using and why for both "Presentation," and "set req" options.

      So, here's what I have in the house, two systems, one for heating (240v baseboard), one for cooling (swamp cooler)
      I have DHT-11 sensor in the lounge with NRF24L back to master.
      I have a two-relay board at the mains box for the 240v baseboard supply with NRF24L back to master.
      I have a three-relay board at the swamp for Low, High and Pump with NRF24L back to master.

      What do I Present and what do I use for a "Set" command for the heating and/or cooling? There doesn't seem to be a Presentation type for "Relay" and no "Set" option for "On" and "Off."

      Could someone please give me some examples of what and how to assign those combinations?

      I am a Mechanical Engineer and Programmer used to seeing things in logical sequence and order, but this what-goes-with-what is a mystery to me.

      posted in General Discussion
      NotTooTechy
      NotTooTechy
    • RE: Trying to make sense of Serial display

      @hek said:

      Haha, this must be one of the most confused up threads here 🙂

      But getting better. Thank you all. Now that I see that some of the messages are from the Gateway and not all from the Node it is making some more sense. It would be nice to see some CR and LF in the output, but having employed many programmers over my working life, I understand. 😉

      Why does "c = message type" and not "m" for instance? before asking here I was trying to make sense of it without wasting everyone's time and searching files.

      @boozz seems to have solved it for me with turn off Debug.

      I think that, other than snide comments, we can close this thread from my standpoint. 🙂

      posted in General Discussion
      NotTooTechy
      NotTooTechy
    • RE: Trying to make sense of Serial display

      @BulldogLowell said:

      but, in the API it describes exactly what the "mishmash" is!

      Thanks for your patience, but I must be getting too old. I cannot find it.
      This page...
      http://www.mysensors.org/download/sensor_api_15#the-full-api
      As far as I can see does not explain...
      0;0;3;0;9;read: 23-23-0 s=1,c=1,t=0,pt=7,l=5,sg=0:69.8
      ^; ^; ^; ^; ^,,,,,,,,,,,,,,,,,,,,,,,,^,,,,,^,,,,,^,,,,,^,,,,,,,^,,,,,^

      The things above the Caret ("^") and their values. I can guess at the 23,23,0 as NodeId,NodeID,GatewayID but what is "s=1" etc?
      I assume the ":" is a delimiter for the data.

      I realize this is free stuff, but the documentation does leave a good deal to be desired. Or, maybe it IS just me. 🙂

      It is crazy having half of the cod in plain text and the rest on in Codebender. I understand why it IS in Codebender, but for a documentation page to make a copy of to refer to offline, it is useless.

      posted in General Discussion
      NotTooTechy
      NotTooTechy
    • RE: Trying to make sense of Serial display

      @mfalkvidd said:

      how-ask-for-help might be useful

      Hmmm, not really as I think my Subject is quite valid with the possible exception that "this" could have been inserted between "of" and "Serial" but not being able to edit (that I can see) the Subject I am stuck with the first approach.

      "Lead, follow or get out of the way," and old Military expression that might help.

      posted in General Discussion
      NotTooTechy
      NotTooTechy
    • RE: Trying to make sense of Serial display

      @BulldogLowell said:

      Have you read the Serial API?

      Ummm, yes, I mentioned "I am OK with the Serial Protocol for the data" but what is all the other stuff? I also mentioned I am writing my own Controller and surely that might have implied that I have been programming for a while as it is not a trivial task. As it happens that "while" is about 40 years. 🙂

      0;0;3;0;9;read: 23-23-0 s=255,c= < This mishmash
      3,t=11,pt=0,l=8,sg=0:Humidity< This mishmash
      23;255;3;0;11;Humidity< This mishmash
      0;0;3;0;9;read: 23-23-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.0< This mishmash
      23;255;3;0;12;1.0 < aaahhhh finally, data!

      I am sure all that other stuff is important and means something, but where do I read about it? I know I could wade through the .h and .cpp files, but given the description for the Serial Protocol, I hoped (expected) something that similarly explains the "mishmash."

      It makes no sense to me to merely discard all that mishmash-data to just get at the Serial-Data portion.

      posted in General Discussion
      NotTooTechy
      NotTooTechy
    • Trying to make sense of Serial display

      Hi, all, I am writing my own controller and currently have the Nano Serial Gateway and a Nano DHT and it seems to be working as the DHT Node is sending temp changes to the Gateway.

      But, I am at a loss to understand what I am getting. I am OK with the Serial Protocol for the data and the first two lines of the Gateway start-up, but what is all this other stuff?

      0;0;3;0;9;gateway started, id=0, parent=0, distance=0
      0;0;3;0;14;Gateway startup complete.

      0;0;3;0;9;read: 23-23-0 s=255,c=3,t=15,pt=2,l=2,sg=0:0
      23;255;3;0;15;0
      0;0;3;0;9;read: 23-23-0 s=255,c=0,t=17,pt=0,l=5,sg=0:1.5.4
      23;255;0;0;17;1.5.4
      0;0;3;0;9;read: 23-23-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0
      23;255;3;0;6;0

      0;0;3;0;9;read: 23-23-0 s=255,c=
      3,t=11,pt=0,l=8,sg=0:Humidity
      23;255;3;0;11;Humidity
      0;0;3;0;9;read: 23-23-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.0
      23;255;3;0;12;1.0
      0;0;3;0;9;read: 23-23-0 s=0,c=0,t=7,pt=0,l=0,sg=0:
      23;0;0;0;7;
      0;0;3;0;9;read: 23-23-0 s=1,c=0,t=6,pt=0,l=0,sg=0:
      23;1;0;0;6;

      0;0;3;0;9;read: 23-23-0 s=1,c=1,t=0,pt=7,l=5,sg=0:69.8
      23;1;1;0;0;69.8
      0;0;3;0;9;read: 23-23-0 s=0,c=1,t=1,pt=7,l=5,sg=0:37.0
      23;0;1;0;1;37.0

      posted in General Discussion
      NotTooTechy
      NotTooTechy
    • RE: Windows GUI/Controller for MySensors

      @tekka
      Using the SerialGateway:
      Is there a tutorial at all for using this? I can figure out a lot of stuff, but...

      Is it possible to assign the ID to a new node? I want to group Nodes numerically as in Area-1: = 10,11,12 then Area-2: = 20,21,22,23 etc
      How?

      posted in Controllers
      NotTooTechy
      NotTooTechy
    • RE: Clearing the Arduino entirely

      Thanks. Arrrggghghh. I had looked for something like that but was expecting to see EEPROM in all caps.

      "ClearEepromConfig" is not an obvious thing to spot. It may be fine when you know where to look.

      "EEPROMClear"
      or
      "EEPROMClearConfig" if one must have "config" in there.

      No?

      Things like that should start with their most important function first.
      They did that with the Gateways as in GatewaySerial, Gateway486, so consistency is out the window eh?

      With luck this may make it's way to the developers... 🙂

      posted in General Discussion
      NotTooTechy
      NotTooTechy
    • Clearing the Arduino entirely

      Hi, I am just trying this system and I have
      Nano 1 SerialGateway sketch
      Nano 2 Humidity sketch with a DHT11
      Uno Humidity sketch with no DHT11 to simulate a sensor failure

      I think The system has assigned
      Nano-1 as Node-0
      Nano-2 as Node 97
      Uno as Node 1

      I assume this has been written into the EEPROM. As I go through learning ho to use these I'd like to assign my own Node-IDs so how do I clear all Nodes of their stored data?

      Thanks

      posted in General Discussion
      NotTooTechy
      NotTooTechy
    • RE: Windows GUI/Controller for MySensors

      @tekka
      Hi, just found this so downloaded and installed. Went to config to see what was there and selected TCP/IP tab to turn it off as it is not on a network and I only need Serial. The thing locks up and crashes and I have to use Task Manager to end it.

      Is there some way to start it without it trying to access 192.168.0.5?

      posted in Controllers
      NotTooTechy
      NotTooTechy
    • Not Too Techy windows controller

      Hi, probably been asked a zillion times before but I have not found any posts specifically ralated to non-techy type controllers. I want to have all my automation stuff on a home network system and do not need access via smart-phone etc when away from the place. If everything is working as it should, then I would not need to control anything.

      I can see where some outside access might be nice to see what's on and what's not, but we are retired and rarely away from home anyway. Also we live out in the boonies where mains-power and DSL can be off for five or six hours at a time. The squeaky wheel gets the oil, but, out here there are only a few wheels to squeak so our repairs are always well down the list. With only one of each, gotta take it or shiver.

      I am looking for a x86 based controller (Lenovo Miix Tablet) that is not too hard to set up and maintain. I also have a model-B Raspi, but woudl like to use windows because of the touch screen. I looked at Dometicz but didn't like that as I have to give Lat/Lon for the install. None of their business. Then I started reading here and all the controllers I read about got very technical, very fast. I am not a novice when it comes to programming Arduino, but Linux is a mystery to me and I do not want to have to spend a month learning Linux/Java et al, just so I can have the heat turn on automatically.

      So, what's a short list of Rpi or win86 GUI-controllers that are not too complicated to set up and use? I am not after anything fancy, just a few Nanos with DHT22 and Relay boards at this point.

      Thanks

      posted in General Discussion
      NotTooTechy
      NotTooTechy