Show Posts
Pages: [1] 2 3 ... 6
1  Topics / Home Automation and Networked Objects / Re: Testers wanted! on: April 03, 2014, 07:06:30 am
Hi marque!

You Thermoduino Android app has now expired...
Could you release another version?

Also, when do you plan to release the final version, even if paid????

New version is online. Saving timers in landscape is solved.
2  Topics / Home Automation and Networked Objects / All your Xively data in a fancy graph on: February 25, 2014, 05:17:10 pm
I store all data from my sensors, thermostats, windows etc. to Xively. To monitor this data the generated graphs on the Xively site were not sufficient for me so i decided to take a walk with the Rickshaw Javascript library to create my own. I have build a website in a way everybody can use it to keep an eye on his data.

http://marquesnet.nl/graphs
3  Topics / Home Automation and Networked Objects / Re: Testers wanted! on: January 09, 2014, 04:19:43 pm
I was wondering, you disabled alot of code in the sketch.. for example the cosm code, cosm is now xively and the librarie for cosm is allmost the same or identical to the xively librarie, so I replaced all cosm code in the sketch with xively and tried it, but it doesn't seem to work.

Did you disable it because it wasn't working?

Because integration with xively so you can keep track of the temperatures and humidity over a longer period of time is a welcome function...

I hope you could enable xively support in the code again...

Also the aviso library code in the sketch to receive push notifications on android/idevices seems nice, I tried enabling the aviso code, but got lots of compile errors, so you probably disabled it for a reason...

what also would be nice instead of aviso a send mail option, most notification services, like pushover, notify my android etc.. can receive push messages by sending an email to a certain email adress, to get push messages on android/idevices at certain temperatures would be nice...

The cosm library I use still works with Xively. I commented the Cosm and Avviso out because they are not required for the purpose of the examples. my own boards upload all data to Xively and i recieve notifications on my android via Avviso and Notifier my Android. Did you install the Cosm and Xively librarys?

My Cosm / Xively feeds: https://xively.com/search?q=marque. All generated by arduino's. Jup, now you can see when my alarm is armed :-)
4  Topics / Home Automation and Networked Objects / Re: Testers wanted! on: January 09, 2014, 04:06:51 pm
Quote
Hi,

finally had some time to work on the next update.
Timer issue should be solved as well as the wrong stored name.

Let me know if it worked for you?

Yes it works now thanx, alltough it only worked after running the code to clear the EEPROM first and then running the new updated sketch.

Good to see you got the timers working. It's correct you had to clear the EEPROM manualy. The sketch only does this the first time you run it on your board
5  Topics / Home Automation and Networked Objects / Re: Automation on: January 09, 2014, 04:04:27 pm
If you like to control it over IP network / internet a arduino mega is a better choice because of it's bigger memory available. Just combine it with a W5100 ethernet shield for that.
6  Topics / Home Automation and Networked Objects / Re: Testers wanted! on: January 02, 2014, 07:35:45 pm
Marque

I have tried your code to reset the eprom, it made no difference.
When I open the timer, the app freezes, and a few seconds later I get the message that the Thermoduino stopped working.
and the option to wait or close, if I press wait, the device freezes, until the app closed on its own.

I have know feed the boards with 5v, and a separate 5v for the relays, it works ok, and obviously less heat on the regulator...
will keep it like that. 


I found out there is a build is safety in the EEPROMEx library that doesn't allow more than 100 writes at once.
you should add
Code:
  EEPROM.setMaxAllowedWrites(30000);

So the new code to reset the EEPROM with the EEPROMEx library is bellow. This is now implemented in the sketch

Code:
void setup()
{
 EEPROM.setMaxAllowedWrites(30000);
 // write a 0 to all 512 bytes of the EEPROM
  for (int i = 0; i < 512; i++)
    EEPROM.write(i, 0);
   
  // turn the LED on when we're done
  digitalWrite(13, HIGH);
}

void loop()
{
}

If you still have problems with the timers please send me your setup serial output.
7  Topics / Home Automation and Networked Objects / Re: LED Lounge Controller program buttons on: January 02, 2014, 07:26:15 pm
Marque,
You are correct , it is the " program " buttons I was referring to and all is working properly . I have tried all the functions you mention in the description you wrote and all work as you stated.

My next questions have to do with the arduino code that contains the RTC function . Were you looking to use this for scheduled lighting functions?
Do you plan on adding more RGB LED's so multiple patterns can be set up ?

Thanks again,
Bob



Hi,
RTC wont be used for scheduled lighting functions by the rgb controller.
I will make a function to store and load patterns. i keep you posted on that!
8  Topics / Home Automation and Networked Objects / Re: Testers wanted! on: January 02, 2014, 07:18:08 pm
I finally received all parts to build the thermoduino pro and it works, really nice... thnx

however the android app crashes when I try to open the clock icon to set timers..

First I tought maybe it is a KitKat issue, but I also tried it on another android device with Jellybean and it also crashes whenever I try to open the clock to set timers.... do the clock/timers work allready? because it's a beta app?

I am using stock android btw no mods... only rooted..

Are there people who have the clock/timers working in the android app?

Btw the clock icon does display the correct time.. so that is working...

Also whenever I set a name for the profile, for example "Thermostaat" or "Thuis" it is stored as: "Thuis%0A$ HTTP/1.1$" in the EPROM, it adds this garbage "%0A$ HTTP/1.1$" string behind the name in the profile???

What also would be nice, a flame icon/image to see when the thermostat/cv is actually heating/turned on, all thermostats have this...

Hi,

finally had some time to work on the next update.
Timer issue should be solved as well as the wrong stored name.

Let me know if it worked for you?
9  Topics / Home Automation and Networked Objects / Re: Testers wanted! on: December 16, 2013, 05:20:37 am

About the app changing the settings, it still happening... not as often, so I think that the dodgy arduino mega I had was triggering the problem to happen more times...
Do both arduino boards have different IP and MAC addresses? You can check it in serial monitor. Change mac[5] for every board.  MAC is set in the following code
Code:
void start_ethernet()
{
  if (DEBUG5) Serial.println("Ethernet start");
  if (EEPROM.read(1) == '#') {
    if (DEBUG5) Serial.println("mac found ");
    for (int i = 3; i < 6; i++) {
      mac[i] = EEPROM.read(i);
    }
  }
  else {
    if (DEBUG5) Serial.println("mac not found ");
    mac[3] = 237;
    mac[4] = 254;
    mac[5] = 240;               // change this for every arduino you use. 241, 242, 243, 244 etc...
    for (int i = 3; i < 6; i++) {
  
      EEPROM.write(i, mac[i]);
    }
    EEPROM.write(1, '#');
  }
In case you want to change the mac, first you need to clear the EEPROM (see two posts back for how to do this)
A question that's probably not for this thread, I have connected the setup to a 12volts power supply, and I have noticed that the voltage regulator gets a bit hot, the same with 9 volts.
Does this damage the boards?
With 5 volts the relays do not work, unless I feed the relays with external 5 volts..
It's better not to power the board with 12V or the regulator can get really hot. It looks like your 5V power supply is not up for the job. I power all my arduinos with a powered usb hub.
10  Topics / Home Automation and Networked Objects / Re: Testers wanted! on: December 14, 2013, 08:58:59 am

I had a look at thermoduino code, now, is correct to say that to add more sensors I just need to set the port in the "Void", for the "outdoors" for example, the outdoors is "int" as "ts3"...
 
The sensor data which is viewed on the android app are just comma separated lines of text sent by the arduino.

Code:
if (readString.indexOf("/get_status") >= 0) {
  DateTime now = RTC.now();
              client.print(Controller_Name);
              client.print(",");
              client.print(S);
              client.print(",");
              client.print(H);
              client.print(",");
              client.print(Td,1);
              client.print(",");
              client.print(Tc,1);
              client.print(",");
              client.print(now.hour());
              client.print(",");
              client.print(now.minute());
              client.print(",");
              client.print(now.dayOfWeek());
              client.print(",");
              client.print(wan_port);
              client.print(",");
             //here you can send any comma seperated line to the android app. eg; client.print("line one");client.print(",");client.print("line two");
              client.print(",");
              client.println(handshake);
            }

Quote
another thing I have experienced is that sometimes the app changes the settings on its own...
I have for example, first tab setted to one system, named "Ground Floor", ip and port, the second tab is named "First Floor", ip and port...
Sometimes the first tab changes to "First Floor", and the port number changes to the port of the other one... then both tabs read the same board...
Going to settings and change the name and port resolves the problem... until for some reason it changes it again...

Is this still happening?
11  Topics / Home Automation and Networked Objects / Re: Thermoduino on: December 14, 2013, 08:44:56 am
Hi! Its me again!  smiley

Right, it seems that had a dodgy arduino mega...
A new mega and ethernet shield,  and everything is running smooth for over a week now...
More than used to last!
The only thing that is not working is the timers. ..

Wow, Your setup looks awesome!

I think the problem with the timers is in one of the stored eeprom values. You can try to reset aal eeprom values to zero by uploading and running the following code once. After running this once you can upload and run the Thermoduino code again.

Code:
void setup()
{
  // write a 0 to all 512 bytes of the EEPROM
  for (int i = 0; i < 512; i++)
    EEPROM.write(i, 0);
   
  // turn the LED on when we're done
  digitalWrite(13, HIGH);
}

void loop()
{
}


12  Topics / Home Automation and Networked Objects / Re: Lounge LED Controller Favorites working again on: December 14, 2013, 08:36:19 am
LED Lounge Controller working with Favorites:
Solved the issue with the missing buttons by selecting a color and saving it to " Favorites 1" . All six buttons returned and played properly. This is a very nice App for mood / seasonal lighting .
Thanks Marque !
BobbyD


Hi Bobby,

There should only be 4 favorite buttons. I think you are mixing up favorites and program buttons. Just to make clear:

Favorites
4 favorites buttons
can't be removed
can't be long pressed
when clicked the program stops and the the Led will fade into the selected color in approximately 500 ms
two ways to store a color
1 click left circle, select a color, click the inner circle, choose favorit 1 - 4
2 select a color with the sliders, click right circle, choose favorit 1 - 4

program loop
max. 6 programed colors
colors can be removed in two ways
1 long clicking them
buttons can't be clicked
buttons have an indicator to see in what color the program is.
2 store them with color "black"
two ways to store a color
1 click left circle, select a color, click the inner circle, choose program 1 - 6
2 select a color with the sliders, click right circle, choose program  1 - 6
The program loop will play when the "play button" is clicked
two parameters can be set to control the program speed, "fade time" and "delay time"
Fade time - time to fade from one color to another  (0-9  / 50ms - 3 minutes)
Delay time - time to stay in one color before fading to another  (0-9  / 0ms - 3 minutes)

Left circle
color picker to select any color you want

Right circle
button to select the current color of the LED

13  Topics / Home Automation and Networked Objects / Re: Lounge LED Controller still having issues loading Android app on: November 25, 2013, 09:26:49 am
Marque,
I downloaded the Lounge LED Controller app and tried re-installing .
-Android asked if I wanted to replace app - yes
-it looked like it took a while to install , and it said it was ok
-I opened the app and it indicated the following:
  "Unfortunately , Lounge LED Controller has stopped."

Please let me know if there is anything else I should be trying as I am still very interrested in testing this app.
BobbyD
Try to remove first and then install again
14  Topics / Home Automation and Networked Objects / Re: Question about arduino communication with smart phone on: November 15, 2013, 05:42:28 pm
Thanks for the replay , about the 2 option..
How much its gonna cost?
Are you using an android smart phone?
15  Topics / Home Automation and Networked Objects / Re: Testers wanted! on: November 10, 2013, 05:17:20 am
Marque,
Is there a possibility that I could get the Lounge Lighting app? I was able to load the code on a mega , but the app said it was "expired" when I tried to open it with my Android.
BobD

The app has been updated so please download the new version.
Pages: [1] 2 3 ... 6