The light of the stairs is in the same node as the other lights, so why do I have to use RemoteInput ?
mInput(slot) // status of the input (commands)
mOutput(slot) // status of the output (slot status)
SetInput(LIGHT2, Souliss_T1n_OnCmd)
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/0caa3b0e-bc8d-419d-bb42-e31d701223b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
mInput(slot) // status of the input (commands)
mOutput(slot) // status of the output (slot status)
Look at the Gateway page.
Dario.
From Mobile.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/499f884e-b524-40e1-8f66-2cf1a1672c03%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/31a5f77a-b4fa-46e9-be4c-d0d0fa220755%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/459457d1-0704-4072-8a06-d275d0f7a7ee%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/ msgid/souliss/459457d1-0704- 4072-8a06-d275d0f7a7ee% 40googlegroups.com.
For more options, visit https://groups.google.com/d/ optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/96a0445c-5679-4632-b2d1-48314f6857c3%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "souliss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/souliss/h0cw_YMFVCE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/CAKGhMPKqfaKwHr7%2BAMNbcH-HoKizL3iFnnroUwyAvmrveaZvxA%40mail.gmail.com.
Ciao Guy,
Nice!
would you please share your bill of material too ?
Some ML user (including me) may be interested in which board you purchased, where, and how much you paid.
Thanks
--
You received this message because you are subscribed to a topic in the Google Groups "souliss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/souliss/h0cw_YMFVCE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/58de2ad1-6ad9-4f0a-8a16-a99cde33fd16%40googlegroups.com.
Is this an Ethernet only node or you need usart?
You have a too big code inside FAST50ms use multiple phases with different values to balance code execution across time. Generally you can run logics slower.
Dario.
From Mobile.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/6dddbf4d-898b-4bb6-961a-b09312afdeb3%40googlegroups.com.
Only an ethernet node
Enviado desde Sony Xperia
You received this message because you are subscribed to a topic in the Google Groups "souliss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/souliss/h0cw_YMFVCE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/CAKGhMPLkkXpyxw%3DdhPA6hoi7mzBszQKXhzveVj1wK8KZ3vY6kg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/274f6464-1334-43f1-87b7-b5b0ea8dac60%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/65822481-58ed-451f-bd2b-5760591c63db%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/a35b54bd-8618-407d-87c0-91bb3a43fe88%40googlegroups.com.
The 0xCE01 is for the gateway, the other nodes can keep progressive ones.
Dario.
From Mobile.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/256fb2e1-4086-4b6f-97a3-ce8677b046b0%40googlegroups.com.
Dario..
If i have 2 super node..
One is using 0xCE01 for usart and 0xCE02 for arduino
So the other supernode address suppose to?
I try : 0xCE03 for usart and 0xCE04 for arduino...
But it seem conflict when both supernode online... If I turn off one of them is ok..
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/CAKGhMP%2BXYLWQU7Yavrv9x3c%2BDA9xbzB%3DSb08jVutCAkT-VEx%2Bw%40mail.gmail.com.
You shuld use 0xCF01/02.
Dario.
From Mobile.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/CAJ6Uq_mYifr89Xin%3DF2_A6mGEGtwSa1JCxkFB0Qt3Zx6B18VcQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/2e700099-3443-4628-a4b6-a4c8d8e11f5a%40googlegroups.com.
This is a sample code, you have to change it with proper values as listed in Typicals.h
Dario.
From Mobile.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/d1bc6d4e-cf07-4965-a24e-326aa3b97778%40googlegroups.com.
mInput(28) = Souliss_T1n_ToggleCmd ;
From Mobile.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/3924b878-50b0-4851-81a2-a9eb6088508c%40googlegroups.com.
mInput(28) = Souliss_T1n_ToggleCmd ;
From Mobile.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/3924b878-50b0-4851-81a2-a9eb6088508c%40googlegroups.com.
In mInput(slot) you should use the slot and not the pin.
Dario.
From Mobile.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/CAKGhMPKYaMuc7Ld5ip8Ur0EdKiq_aX5VAfmJS_Y6F83fdw34xQ%40mail.gmail.com.
uint8_t invalue = Souliss_DigInHold(22,1,2,0,0);
if(invalue = 1)
{
// Short press
mInput(19) = Souliss_T1n_ToggleCmd ;
}
else if(invalue = 2)
{
// Long press
mInput(19) = Souliss_T1n_BrightDown ;
The equal is == in c/c++, add also some Serial.print to understand if you enter the if.
Dario.
From Mobile.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/a5ae9bfa-47f8-4aaa-894e-7693b16f58f2%40googlegroups.com.
Dario,
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/d0c06564-a169-460e-825a-5270ade5d3bc%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/1207736441.6716606.1433494148057.JavaMail.yahoo%40mail.yahoo.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/599758757.6745048.1433495244487.JavaMail.yahoo%40mail.yahoo.com.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/1105f366-5683-44f4-bbfa-bdd5a72eb292%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/709d7f33-da03-43c8-9f99-03459ff015d8%40googlegroups.com.
When I change the logic for the short pulse to the normal situation :
mInput(L2)=Souliss_T1n_ToggleCmd;
Logic_DimmableLight(L2);
analogWrite(12, mOutput(L2));
I see no reaction on the mInput and mOutput after a short pulse
invalue : 1 mInput : 1 mOutput : 0
invalue : 1 mInput : 1 mOutput : 0
invalue : 1 mInput : 1 mOutput : 0
invalue : 2 mInput : 32 mOutput : 1
invalue : 2 mInput : 32 mOutput : 1
invalue : 2 mInput : 32 mOutput : 1
--
Probably using the analog pins as digital one get more easily noise, and your device act in a strage way for that reason.
Dario.
From Mobile.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/27b7272c-ba78-49ef-88ce-0afd03bc0070%40googlegroups.com.
Strange...
From Mobile.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/c2a4a0a5-de37-4f9a-8010-9ecae219bbdd%40googlegroups.com.
What if you increase your timeouts?
Dario.
From Mobile.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/6bce8d14-1369-41b7-a8da-0594219fd831%40googlegroups.com.
How much time your curtains need to open or close?
Dario.
From Mobile.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/12bf05cf-ef1f-4353-8a25-fdf0268ad545%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/2cdaa66e-eb98-4cc5-8db0-bdd61c2e02ab%40googlegroups.com.
If you have spikes you can try adding a filtering for DigIn functions, you should use the extended Souliss_DigIn and set true as last parameter.
https://github.com/souliss/souliss/blob/friariello/base/LocalIO.cpp#L106
Dario.
From Mobile.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/a9ac2483-1a0d-484a-a735-dea71b5faad5%40googlegroups.com.
I'm building a complete domotic system based on Souliss.
Starting points :
- All the lights (LED's) has to work on low voltage 24 Vdc, except for some TL-tubes in the cellar and the garage.
- Only based on arduino, no addittional servers.
- Controlled by smartphone and in future by Iphone and Ipad.
Last year I made some small tests with Souliss before I started my project.
Meanwhile the house in build and all the cabling (2,5 mm2) is finished. All the cables for the lights and the pushbuttom are centralized into 2 cabinets. One on the ground floor and one the first level.
The cabinets are installed and now I'm finishing the internal wiring of the cabinets and the input and output boards. (+/- 80 inputs and 80 outputs)
The whole installaton will run on 5 arduino mega's. All connected by RS485, with one also connected to an ethernet board as gateway.
The leddrivers ( I ordered them in China ) will be installed into the lights, except for the dimmable lights. These drivers will be installed in the cabinets.
For the leds I'm using 7W COB leds, because they have a forward voltage of 22-24 Vdc and also some ledstrips 24Vdc.
All the cabling is done in 2,5 mm2.
Now that the hardware is nearly finished, I have to start with the hard stuff, the software and I'm not a software specialist.
As a test I've already made a small part of the software of node0 and I hope I follow a little bit the rules of Souliss.
I'm afraid in the near future I will need some help of the specialists here.
If somebody should be interested, all my documentation ( system overview, drawings of the I/O boards and my excel-sheets for the installation are available.)
So that's what solved (both electrical spikes and human error):
#define WINDOW_DELAY 800
#define DigInWindowToggle(pin, slot) Souliss_DigInHold(pin, Souliss_T2n_StopCmd, Souliss_T2n_ToggleCmd, memory_map, slot, WINDOW_DELAY)
You are matching only the "closing" case and not the "closed", that's why.
Dario.
From Mobile.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/cf098c0b-1ea0-4b56-b3da-740df6f0106a%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/06c806b9-bdd8-415f-8d7d-40c7370fc6e4%40googlegroups.com.