@gryzli133 Sorry but i dont know how to debug Domoticz
Posts made by dpressle
-
RE: Yet another simple roller shutter (cover) node
-
RE: Yet another simple roller shutter (cover) node
@gryzli133 Its tested and working on Homeassistant, you will probably will have to modify the code to make it work with other controllers, let me know if you need help with that.
-
RE: Yet another simple roller shutter (cover) node
@hummeruli
for #1 try switching also these variables:
#define DIRECTION_DOWN 1
#define DIRECTION_UP 0for #2 can you send debug output?
-
RE: Yet another simple roller shutter (cover) node
@hummeruli can you check "Show verbose output during: " for compilation in the Preferences page and send me the detailed compilation log?
-
RE: Yet another simple roller shutter (cover) node
@hummeruli It compiles just fine on my machine, what version of mysensors do you have? i am using v2:
-
RE: Yet another simple roller shutter (cover) node
@gryzli133 No, Sorry. Let us know if you make it happen.
-
RE: Yet another simple roller shutter (cover) node
@gryzli133 The only way i can see is using the radio pins 9, 10, 11, 12, 13 if they can be used with RS485 or i2c then you are good to go
-
RE: 💬 MySensors Light Switch
@Lucien Sorry for the delay, i will post it soon.
-
RE: Looking for tips on mounting thermal fuses.
I just wrap it with wet toilet paper, works every time.
-
RE: Transmitter options question
@Boots33 Thanks, looks very nice, antenna is a little big but very interesting.
-
Transmitter options question
For another project i am working on i am looking for a way to be able to transmit data to a specific direction (not 360 deg) for few hundred meters 100-500 (one way).
I would love to use the nrf transmitter if possible but any idea will be greatly appreciated.Thanks.
-
RE: Another simple (No SMT) relay actuator
Small update, i connected touch switches to the board instead of mechanical switches.
where i live we are using gwiss switches and when the board is in the box there is not much room for mechanical switches as they are too deep, so i took some blanks that are used to cover unused switch hols and added touch switch to it, see the pictures below:
-
RE: Another simple (No SMT) relay actuator
@Shaun-Storbakken It was designed with the idea of controlling 3 different loads of up to 2 Amp each, lightning, switches etc.
The D-5,6,7 are for manual switching and they will (if you use my code) control the 3 relays respectively, J1 is power input 110-220V, please note that you should pay attention to the polarity and connect line wire to the right of J1 (otherwise you will end up switching natural to the load), J2 is AC output where each one is different relay, so you have 3 X 110-220V outputs of max 2 A each.I hope it was helpful, please let me know if you need further help.
-
RE: Another simple (No SMT) relay actuator
@MLs i use what you use, Mysbotloader 1.3pre, as i said in one of the first messages, you dont need me to send it to you you can (and did) download it from here.
This is why i think you are doing something wrong or have wrong settings.
-
RE: Another simple (No SMT) relay actuator
@MLs You said before "The problem is not to burn bootloader."
and now you are saying "No if I'm burning 8MHz Mysbootloader, the Atmega circuit does not start."I am asking again, are you able to successfully burn and run Mysbootloader 8Mhz or not?
-
RE: Another simple (No SMT) relay actuator
@MLs I am completely lost here, you said "I do not get Atmel to run with Mysbootloader 8MHz." and now you are asking "how to know how a bootloader uses an external clock or internal clock" how can you say its not working and then ask me how to know that its working?
To conclude this, if you successfully burn the 8Mhz Mysbootloader and the board is working then it is working with 8Mhz it cannot be working on 16Mhz because there is no external osc, its not 1Mhz because of the fuses etc.
-
RE: Another simple (No SMT) relay actuator
@MLs try to first upload the burning sketch to the nano (even if its already uploaded) and then burn the bootloader.
What set up do you have, how the nano is connected to the atmega?
What error do you get when bootloader burn fails? -
RE: Another simple (No SMT) relay actuator
@MLs as i said, i can only try to help if you get me more information about your environment and pictures and then i can compare it to mine.
-
RE: Another simple (No SMT) relay actuator
@MLs When i said "what ever bootloader you want" i meant MYS OTA bootloader or optiboot or breadboard bootloader etc.
They all have 8 Mhz version.In any way this is my boards.txt settings if it helps:
MYSBL13.name=ATmega328 8MHz (RC, BOD1V8)MYSBL13.upload.maximum_size=30720
MYSBL13.upload.maximum_data_size=2048
MYSBL13.upload.speed=38400
MYSBL13.upload.tool=arduino:avrdude
MYSBL13.upload.protocol=arduinoMYSBL13.bootloader.low_fuses=0xE2
MYSBL13.bootloader.high_fuses=0xDA
MYSBL13.bootloader.extended_fuses=0xfeMYSBL13.bootloader.file=MYSBootloader/MYSBL13pre_atmega328_8Mhz.hex
MYSBL13.bootloader.unlock_bits=0x3F
MYSBL13.bootloader.lock_bits=0x0F
MYSBL13.bootloader.tool=arduino:avrdudeMYSBL13.build.mcu=atmega328p
MYSBL13.build.f_cpu=8000000L
MYSBL13.build.core=arduino:arduino
MYSBL13.build.variant=arduino:standardThen in the IDE i select:
-
RE: Another simple (No SMT) relay actuator
@MLs I think i lost you there, if there is no external osc how would it work? it is clear (at list to me) that its using the internal clock. Maybe you mean the f_cpu parameter? it is in the board text file.
I also use a nano to burn the bootloader, you can set the fuses as you wish in the boards page exactly as the link you gave is describing.
If you dont care of OTA you can use any other bootloader (like optiboot), i did it as well with this board.
I want to help you more but i need more info and pictures of your exact setup and files, can you share it?
Also some times your atmega328p-pu comes with 16Mhz bootloader pre-installed so you do need to set it up with 16Mhz osc for the first 8Mhz bootloader burn, after that you can remove it.
-
RE: Another simple (No SMT) relay actuator
@MLs Its in the OpenHardware page see the Source Code tab:
OpenHardwareNote its intended to work with "Home Assistant" HA, some depending on your controller some changes might be needed.
-
RE: Yet another simple roller shutter (cover) node
Boards can be found at Dirty Pcbs
-
RE: Safe In-Wall AC to DC Transformers??
what do you guys say about this PSU? i really liked that the mains are separated much more then the HLK.
And how is the suggested full circuit use they have:
-
Yet another simple roller shutter (cover) node
So after the "success" ;( of my previous design "simple relay actuator" i did another one for roller shutter/cover device Simple cover actuator
Main goals were:
- Simple design (NO SMT) all throe hole
- Safe, AC-DC, fuses, creepage etc...
- Cheap, no expensive hardware
- Easy to build, anyone could do it
Main Components:
- Hi-Link AC-DC PSU
- 2 relay design one for power one for direction
- Atmega328p-pu
- nrf24l-01 radio
IT works very well for me with my Home Assistant controller HA, i am using time to set its position nothing too complicated.
Again, please comment and ask questions as you wish, thanks for the great feedback this forum is the best.
-
RE: Nrf24l01 powering problem with LE33
4.7 uF is not enough, you need at list 10uF.
I had the same problem in my boards. -
RE: Another simple (No SMT) relay actuator
@artipi Sure you can that is the whole point of the D5, D6, D7 connection.
You just need to take the GND and each of these digital inputs and connect them to the switch (NO high voltage in the switch only GND and digital input), each one of then controls one relay.
-
RE: Another simple (No SMT) relay actuator
@breimann Thanks, does any one want link to dirtypcbs?
-
RE: Another simple (No SMT) relay actuator
@Nca78 Thanks for the tips, i understand what you are saying about the neutral and it is a good idea, my intentions were to put it in the switch box and not in the light fixture itself, but i might add it to the next release.
-
RE: Another simple (No SMT) relay actuator
Thanks, should be under 10USD in parts.
BTW, same design but for roller shutter is on the way -
RE: Another simple (No SMT) relay actuator
Thanks for the comments, wow what a great forum we have here
-
Another simple (No SMT) relay actuator
Since i dont think humans should solder SMT devices i made this nice little non SMT board with 3 SSR relays, Hi-Link power supply, atmega328P and separated fuses for PSU and load, in a 5X5 CM board.
So far its working great, i did not put a temp fuse in the design mainly because i dont see any commercial in wall units using one, so for me i think its safe enough to not use it.
I would appreciate your comments on it, Thanks.
Main goals are:- No SMT
- 5X5 CM board
- Safe for in wall use
- Simple and cheep
Top side design:
Bottom side design:
-
RE: Heartbeats
@iLusion i am just trying to help here so i hope no one is med about me for saying what i have to say and where i have to say it
So i am thinking out load here, if you want to send heartbeat and assuming your node is time sleeping (not interrupt) otherwise how would you send heartbeat right? why dont you send your current status (even if its not changed) so HA will be updated as i suggested before.I mean , unless i missed something here, whats the difference between heartbeat and sending the status??? they both use radio and node needs to be awake...
-
RE: Heartbeats
- Well it depends on the type of sensor you have, so its a partial solution for him, only he knows his sensors and if its helping him.
I know that for me its good enough. - I think i was right on the topic with my message, the solution might be different but its the same basic problem.
But any way, @iLusion should answer this...
- Well it depends on the type of sensor you have, so its a partial solution for him, only he knows his sensors and if its helping him.
-
RE: Heartbeats
@iLusion You can see the last update in the node details, for example i have temp node and i can see when it last updated HA:
I hope it helps.
BTW: i do agree that it is annoying that nodes that no longer exists but was issued a node id by the gateway will stay forever in HA until you change that in the GW or assigning this ID to another node.
-
RE: My Slim 2AA Battery Node
Thanks, i see its 6.8 uA now, i had something wrong with my measurements
-
RE: MySensors Hvac device
@martinhjelmare cool, thanks i will try to PR this later.
-
RE: My Slim 2AA Battery Node
So i got the boards and build them and they work perfect.
One thing i couldn't figure out is why do i get relatively high current consumption, when the node is sleeping i get 1.5mA and not 5.8uA as in mentioned in this post.
I use 8MHz internal clock and the sleep function and nothing is connected to the node.
Can someone help?
-
MySensors Hvac device
Hi All,
i Successfully created a hvac node and connected it to HASS, i can see that the climate device on HASS has the option to get the current temperature from the device.
Does any one knows if the MySensors Havc platform supports sending temperature? if i send V_TEMP message from that node will it be shown in HASS in the climate device as current temp?
-
Wait command explain
HI All,
Can anyone explain me please about the wait command?
i see this in the library API:
bool wait(unsigned long ms, uint8_t cmd, uint8_t msgtype);
ms - The number of milliseconds to wait (while still processing incoming data)
cmd - The command type to wait for
msgtype - The message type to wait for- what is cmd? what types?
- if i use ms = 0 will it wait forever (or at list until message arrives)
Thanks for your help.
-
RE: MYSBootloader 1.3 pre-release & MYSController 1.0.0beta
@yd-kim said:
1.3Pre.hex in 1.0.0Beta : it works with serial upload
i couldn't get the 1.3pre work with serial upload, its interesting to see you could.
-
RE: Alternative to ArduinoIDE
Severity Code Description Project File Line Suppression State
Error (active) missing closing quote c:\Users\dpressle\Documents\Arduino\libraries\MySensors-2.0.0\core\MyTransport.cpp 507Severity Code Description Project File Line Suppression State
Error (active) missing closing quote c:\Users\dpressle\Documents\Arduino\libraries\MySensors-2.0.0\core\MySensorsCore.cpp 262i get this on all of the debug function calls in these files.
-
RE: Alternative to ArduinoIDE
@Stuart-Middleton I am getting so many errors on a simple sketch:
Severity Code Description Project File Line Suppression State
Error (active) expected a '{' c:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial.h 154What am i missing here?
-
RE: Alternative to ArduinoIDE
@Stuart-Middleton +1
Are you using vs2015? with the arduino IDE extension? -
RE: Best IDE to use for MySensors projects
@ivankravets said:
- Do you use the latest http://docs.platformio.org/en/stable/installation.html#development-version ?
- Do you have
#include <Arduino.h>
in one of your project file?
You got it right, all i needed is to do is to use the development branch.
Thanks.
-
RE: Best IDE to use for MySensors projects
Did anyone get platformIO to work with MySensors? I get this error:
.pioenvs\pro8MHzatmega328\MySensors_ID548\core\MyGatewayTransportMQTTClient.cpp:35:2: error: 'byte' does not name a type
byte _MQTT_clientMAC[] = { MY_MAC_ADDRESS };
^and more...
-
RE: AC IR code decrypting
Hi All,
Library can be found here:
GitHubIt contains a test ino to test the library and a ino to work with mysensors.
If you have any comments and or questions please dont hesitate to ask/comment.Thanks to all of you who helped in this topic and especially to @joker_mkd who donated his gree code document.
-
RE: AC IR code decrypting
So i ended up implementing it in my own library, still under tests, i will publish it here once i push it to github.
-
RE: Arduino Nano and NRF24L01+PA+LNA
@Boots33 i could not make the NRF2401+ work with the le33 i moved to lm117 or 662k and it works, just wasn't enough juice...
-
RE: send message to sensor on GW
@martinhjelmare Thanks, i will try dev branch
-
RE: send message to sensor on GW
@martinhjelmare you are right... still it doesn't seem to get into the receive function in the GW:
0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=1,t=54,pt=2,l=2,sg=0:1
1;1;1;0;54;1 -
send message to sensor on GW
How can i send a message to a gateway node?
I tried the following:
on the GW i added a node id parameter #define MY_NODE_ID 1 and a receive function
on another node i use setDestination for the message i want to send to the GW with the node id of the GW (1)
i expect to get into the receive function on the GW which does not happen
in the GW serial monitor i see the message getting in:
0;255;3;0;9;TSP:MSG:READ 2-2-1 s=2,c=1,t=54,pt=2,l=2,sg=0:1Can any one let em know if what i am trying to do is even possible?
-
RE: AC IR code decrypting
@Nca78 said:
@dpressle said:
@ToniA i know, i will try to add it to your library (if no one will beat me to it)
Not me
I'll implement it in my own library if I manage to make something valuable.Let me know if you get it done please!
-
RE: AC IR code decrypting
@ToniA i know, i will try to add it to your library (if no one will beat me to it)
-
RE: AC IR code decrypting
@joker_mkd Sounds wonderful, good luck, i will be watching you
-
RE: AC IR code decrypting
@joker_mkd product looks great, did you ever thought of making these units smaller (so can be attached on an AC for example) and have some kind of API exposed so any Home Automation can use them? MySensors ZWave Wifi http etc...
-
RE: AC IR code decrypting
@joker_mkd said:
In case you are still interested, here is the full description of this code:
Thanks, this is great looks like exactly what i need, all the relevant information is there.
I will now write some code to implement this.Thanks.
-
RE: Possible bug in MYSController 0.1.2.282
@Anduril OK, but still i dont see the relation between the nodes version and the MYS controller version the sub-type percentage existed both in V 1.5 and 2.0 so even if it is related to nodes version its a bug, this parameter was not departed in any version (at list from the API docs)
-
RE: Possible bug in MYSController 0.1.2.282
@tekka said:
@dpressle Are you on MySensors 2.0?
No, the last available version is 0.1.2.282, when i run it it say there is a new update available and when update button is pressed i get the same installation file for version 0.12.282.
Where can i get the 2.0 version?
-
Possible bug in MYSController 0.1.2.282
I noticed that the V_PERCENTAGE SubType disappeared in this version (it existed in the beta)
Is this a bug?
-
RE: MYSBootloader 1.3 pre-release & MYSController 1.0.0beta
I managed to use the bootloader with version 2.0, thanks.
-
RE: AC IR code decrypting
@ToniA i got you, but the problem is i still dont know the checksum value, working on it...
-
RE: AC IR code decrypting
@Nca78 OK, i will generate more commands and see if it makes more sense, Thanks for your help.
-
RE: AC IR code decrypting
@Nca78 can you please explain why do you add 0101 to the checksum in the temperature example?
-
RE: AC IR code decrypting
@Nca78 I think you are on to something, thanks a lot. I will investigate it further, but in the mean time here is some more data that i took:
mode fan temp
cold auto 26
1001 0000 0101 0000 0000 0110 0000 1010 010 - 0000 0000 0000 0100 0000 0000 0000 1111
cold auto 25
1001 0000 1001 0000 0000 0110 0000 1010 010 - 0000 0000 0000 0100 0000 0000 0000 0111
cold auto 24
1001 0000 0001 0000 0000 0110 0000 1010 010 - 0000 0000 0000 0100 0000 0000 0000 1011
cold fan1 24
1001 1000 0001 0000 0000 0110 0000 1010 010 - 0000 0000 0000 0100 0000 0000 0000 1011
cold fan2 24
1001 0100 0001 0000 0000 0110 0000 1010 010 - 0000 0000 0000 0100 0000 0000 0000 1011
cold fan3 24
1001 1100 0001 0000 0000 0110 0000 1010 010 - 0000 0000 0000 0100 0000 0000 0000 1011
dry fan1 24
0101 1000 0001 0000 0000 0110 0000 1010 010 - 0000 0000 0000 0100 0000 0000 0000 0111
air fan1 24
1101 1000 0001 0000 0000 0110 0000 1010 010 - 0000 0000 0000 0100 0000 0000 0000 1111
heat fan1 24
0011 1000 0001 0000 0000 0110 0000 1010 010 - 0000 0000 0000 0100 0000 0000 0000 0000
OFF cold auto 26
1000 0000 0101 0000 0000 0110 0000 1010 010 - 0000 0000 0000 0100 0000 0000 0000 1110 -
RE: AC IR code decrypting
@ToniA I love your library but non of your pre-defined AC's worked for mine.
I will defiantly use it once i crack the code of this AC and will pull it to your repository.Thanks.
-
RE: AC IR code decrypting
I can send the timings i get from the code before i convert to bin, since i am converting it with notepad++ i might be wrong.
-
RE: AC IR code decrypting
@Nca78 The space is where the space is in the binary i wrote (its actually hard to see):
100100000101000000000110000 19 ms space 0101001000000000000001000000000000001111I am from Israel.
Thanks.
-
RE: AC IR code decrypting
@pjr Dont know this one, not sure your local is my local
-
RE: AC IR code decrypting
@siklosi Thanks but this is for a different AC with different protocol.
The biggest problem with these AC companies is that each one creates its own protocol and makes our lives hard... -
RE: AC IR code decrypting
@Yveaux Yes, but i want to be able to control each of the parameters separately and not have to record many operations
-
RE: AC IR code decrypting
@Nca78 Thanks for the answer.
The brand of the AC is a local brand called "Tadiran" (not sure if its world distributed).
I am capturing the IR code with following arduino code, please note you need this code because AC have very long IR code since every button push the whole state is sent i.e. fan speed temp mode etc.
Now i know that the code i am capturing is good because i can successfully transmit it back using any IR library.I agree on the uneven bytes and could not figure this out as well, i also tried the XOR checksum and couldn't get it to match.
The output i am getting from the code is of time delays which i later convert to binary i use the follow mapping to convert to bin:
HDR_MARK 9000
HDR_SPACE 4000
BIT_MARK 620
ONE_SPACE 1600
ZERO_SPACE 540
MSG_SPACE 19000Please note that there is a message space of around 19 ms that separates the message in to 2 parts, the second part does not change beside the last 4 digits which i think is the checksum. the long pause is right after the 3 digits, so for an example look at the code i got below for a certain operation, they all got the same checksum:
cold, 26 C
Fan:
Auto
100100000101000000000110000 0101001000000000000001000000000000001111
Fan1
100110000101000000000110000 0101001000000000000001000000000000001111
Fan2
100101000101000000000110000 0101001000000000000001000000000000001111
Fan3
100111000101000000000110000 0101001000000000000001000000000000001111I appreciate the help and hope we can resolve this as i am about to give up...
#define IRpin_PIN PIND #define IRpin 2 // for MEGA use these! //#define IRpin_PIN PINE //#define IRpin 4 // the maximum pulse we'll listen for - 65 milliseconds is a long time #define MAXPULSE 65000 // what our timing resolution should be, larger is better // as its more 'precise' - but too large and you wont get // accurate timing #define RESOLUTION 20 // we will store up to 300 pulse pairs (this is -a lot-) uint16_t pulses[300][2]; // pair is high and low pulse uint8_t currentpulse = 0; // index for pulses we're storing void setup(void) { Serial.begin(9600); Serial.println("Ready to decode IR!"); } void loop(void) { uint16_t highpulse, lowpulse; // temporary storage timing highpulse = lowpulse = 0; // start out with no pulse length // while (digitalRead(IRpin)) { // this is too slow! while (IRpin_PIN & (1 << IRpin)) { // pin is still HIGH // count off another few microseconds highpulse++; delayMicroseconds(RESOLUTION); // If the pulse is too long, we 'timed out' - either nothing // was received or the code is finished, so print what // we've grabbed so far, and then reset if ((highpulse >= MAXPULSE) && (currentpulse != 0)) { printpulses(); currentpulse=0; return; } } // we didn't time out so lets stash the reading pulses[currentpulse][0] = highpulse; // same as above while (! (IRpin_PIN & _BV(IRpin))) { // pin is still LOW lowpulse++; delayMicroseconds(RESOLUTION); if ((lowpulse >= MAXPULSE) && (currentpulse != 0)) { printpulses(); currentpulse=0; return; } } pulses[currentpulse][1] = lowpulse; // we read one high-low pulse successfully, continue! currentpulse++; } void printpulses(void) { // IR Remote Results Serial.println("For IR Remote Arduino sketch: "); Serial.print("unsigned int raw["); Serial.print(currentpulse*2, DEC); Serial.print("] = {"); for (uint8_t i = 0; i < currentpulse; i++) { if(i!=0){ Serial.print(pulses[i][0] * RESOLUTION, DEC); Serial.print(", "); } Serial.print(pulses[i][1] * RESOLUTION, DEC); Serial.print(", "); } Serial.print("};"); Serial.println(""); Serial.print("irsend.sendRaw(raw,"); Serial.print(currentpulse*2, DEC); Serial.print(",38);"); Serial.println(""); Serial.println(""); }```
-
RE: 💬 AC-DC double solid state relay module
@Nca78 How is the LE33 working for you? i couldn't make it drive the NRF...
-
RE: 💬 AC-DC double solid state relay module
@Soloam said:
Hello all, I finished my version of this idea! Thank you to @aproxx for the help! I used a ATMEGA328, this wil make it a bit cheaper. https://www.openhardware.io/view/83
I need some help validating the layout, most important the 220v traces and the capacitors used in the layout!
Thank you all
Is there any news on this design?
-
AC IR code decrypting
HI All,
I am trying to decode my AC ir codes, so far i have pretty good understanding of what every command is in the code, at list the ones who's interesting to me: mode, fan, temp and on/off.
The problem is is that i could not figure the checksum function.
Below is some examples of code i got. The last 4 digits seems to me like a checksum, the first 4 digits are the mode and one bit for power on or off, the second 4 bits are for fan speed the 3rd 4 bits are for temp which in the example below is the only thing that is changed:
cold auto fan, temp:
16
1001 0000 0000 000000000110000010100100000000000000100000000000000 1010
17
1001 0000 1000 000000000110000010100100000000000000100000000000000 0110
18
1001 0000 0100 000000000110000010100100000000000000100000000000000 1110
19
1001 0000 1100 000000000110000010100100000000000000100000000000000 0001
20
1001 0000 0010 000000000110000010100100000000000000100000000000000 1001
21
1001 0000 1010 000000000110000010100100000000000000100000000000000 0101
22
1001 0000 0110 000000000110000010100100000000000000100000000000000 1101
23
1001 0000 1110 000000000110000010100100000000000000100000000000000 0011
24
1001 0000 0001 000000000110000010100100000000000000100000000000000 1011
25
1001 0000 1001 000000000110000010100100000000000000100000000000000 0111
26
1001 0000 0101 000000000110000010100100000000000000100000000000000 1111
27
1001 0000 1101 000000000110000010100100000000000000100000000000000 0000
28
1001 0000 0011 000000000110000010100100000000000000100000000000000 1000
29
1001 0000 1011 000000000110000010100100000000000000100000000000000 0100
30
1001 0000 0111 000000000110000010100100000000000000100000000000000 1100Can some one please help? my eyes are red from looking at this for few days now
Thanks.
-
RE: MyNodes.NET moving to node.js.
ok its working now, after deleting the node_modules dir and runing "npm install" again
-
RE: MyNodes.NET moving to node.js.
Getting close (or not)
node -v
v6.2.2npm -v
3.10.3node bin\www
C:\Users\dpressle\Documents\github_repos\mynodes.js\node_modules\serialport\node_modules\bindings\bindings.js:83
throw e
^Error: Module version mismatch. Expected 48, got 46.
-
RE: MyNodes.NET moving to node.js.
@derwish strange seems like latest node is 4.4.7 for windows and linux how do you get V 6.xxx
node official download page -
RE: MyNodes.NET moving to node.js.
I have no idea how you are getting this to work, when i try to run with the latest code i get this error:
node bin\www
C:\Users\dpressle\Documents\github_repos\mynodes.js\modules\mysensors\gateway-io.js:13
gateway.on('newNode', function (node) {
^TypeError: gateway.on is not a function
at Object.module.exports.listen (C:\Users\dpressle\Documents\github_repos\mynodes.js\modules\mysensors\gateway-io.js:13:10)
at C:\Users\dpressle\Documents\github_repos\mynodes.js\modules\web-server\configure.js:17:46
at Object.<anonymous> (C:\Users\dpressle\Documents\github_repos\mynodes.js\modules\web-server\configure.js:86:3)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (C:\Users\dpressle\Documents\github_repos\mynodes.js\bin\www:9:2)my node version is:
node --version
v4.3.0
npm --version
2.14.12 -
RE: MyNodes.NET moving to node.js.
@derwish
You are right, Handlebars and Angular together would be pretty useless.Handlebars and Angular are completely different things.
Handlebars is a template engine. You write a fancy templatey-string, give it a JSON object, and it renders out HTML from the data. There's no data-binding, no updating, it's just a once-off render.
AngularJS is an HTML compiler and databinder. Angular will look through the HTML for angular-templating tags, interpret/compile them, and update the HTML with changes to data on a given controller scope. Angular doesn't just render an HTML string once, it compiles the HTML, binds it to a scope, and updates when data on that scope changes.
-
RE: MyNodes.NET moving to node.js.
looks like its going to be a great controller, node is one of the strongest players these days, good luck to you i hope i can help in development.
Few notes:
- You are using some deprecated node libraries, you get an warning when running node install.
npm WARN deprecated jade@1.11.0: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated transformers@2.1.0: Deprecated, use jstransformer - I would try to use angular as front end
- when trying to run "node ./bin/www" i get exception:
mys_gateway.connectToSerialPort(config.gateway.mysensors.serial.port, config.gateway.mysensors.serial.baudRate);
^
TypeError: mys_gateway.connectToSerialPort is not a function
- You are using some deprecated node libraries, you get an warning when running node install.
-
RE: Clearance, creepage and other safety aspects in "MySensors" PCBs.
@sundberg84 I cant find it but i do remember there was reference somewhere, maybe its not that important if its not mentioned in most places.
-
RE: Clearance, creepage and other safety aspects in "MySensors" PCBs.
Hi,
Great post, thanks for the effort.
I didn't see any reference to current(amp) values, from what i could understand it has a lot of meaning in calculating the clearance/creepage
Thanks
-
RE: [Tutorial] How to burn 1Mhz & 8Mhz bootloader using Arduino IDE 1.6.5-r5
@flopp The only way i was able to upload with ftdi is to connect RTS pin to pin 1 via a 0.1 uf cap