Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Stealth

Pages: [1] 2 3
1
Feature Requests / Re: Fibaro Home Center 2
« on: March 05, 2015, 04:29:04 PM »
Code: [Select]
"value":"(.*?)."

Thats fantastic, thanks alot. 

You are great! ;)

Once I have the thermostat and have it working with Voxcommando I will upload a clean group of Fibaro xmls.

Cheers

Steve

2
Feature Requests / Re: Fibaro Home Center 2
« on: March 05, 2015, 04:16:56 PM »
I would just

1. Clone your "Get status of {1}" command (right-click on the command in your tree and click "clone"),

2. Edit the name of the cloned command to "Get temperature" or whatever you like

3. Delete the logic block

4. Add the TTS action

Thanks thats just the job.  One last tweak would be good i.e. Rather that report 20.68  degrees celsius how do I tweak the syntax to only report to one decimal place i.e. 20.6 degrees celsius?


3
Feature Requests / Re: Fibaro Home Center 2
« on: March 05, 2015, 02:14:05 PM »
I'm obviously missing something.  Sorry to be dim

I use this syntax?

"value":"()"

What about the If statement part?


 

4
Feature Requests / Re: Fibaro Home Center 2
« on: March 05, 2015, 01:56:38 PM »
Whilst I am waiting for my Z-Wave thermostats to arrive I have hooked up some temperature sensors and I would like to ask Voxcommando to report the temperatures on command.

i.e "What is the Lounge temperature"

I am using this http command for a scrape report

http://192.168.0.155/api/devices?id={1}

{1} = Z-Wave node ID 81

This http command delivers the following dump -

{"id":81,"name":"Lounge Brass 75.5","roomID":4,"type":"com.fibaro.temperatureSensor","baseType":"com.fibaro.multilevelSensor","enabled":true,"visible":true,"isPlugin":false,"parentId":75,"remoteGatewayId":0,"interfaces":["zwave"],"properties":{"parameters":[{"id":1,"lastSetValue":0,"size":2,"value":0},{"id":2,"lastSetValue":0,"size":2,"value":0},{"id":3,"lastSetValue":1,"size":1,"value":1},{"id":4,"lastSetValue":1,"size":1,"value":1},{"id":5,"lastSetValue":255,"size":1,"value":255},{"id":6,"lastSetValue":255,"size":1,"value":255},{"id":7,"lastSetValue":255,"size":1,"value":255},{"id":8,"lastSetValue":255,"size":1,"value":255},{"id":9,"lastSetValue":0,"size":1,"value":0},{"id":10,"lastSetValue":20,"size":1,"value":20},{"id":11,"lastSetValue":200,"size":1,"value":200},{"id":12,"lastSetValue":8,"size":1,"value":8},{"id":13,"lastSetValue":0,"size":1,"value":0},{"id":14,"lastSetValue":0,"size":1,"value":0}],"associationSet":[{"devices":[],"groupID":1},{"devices":[],"groupID":2},{"devices":[1],"groupID":3}],"associationView":[{"devices":[],"groupID":1},{"devices":[],"groupID":2},
{"devices":1],"groupID":3}],"zwaveCompany":"Fibargroup","zwaveInfo":"3,3,52","zwaveVersion":"2.1","pollingTimeSec":0,"configured":"true","dead":"false",
"deviceControlType":"0","deviceIcon":"30","emailNotificationID":"0","emailNotificationType":"0","endPointId":"5","liliOffCommand":"","liliOnCommand":"","log":"","logTemp":"",
"manufacturer":"","markAsDead":"true","model":"","nodeId":"22","offset":"0.00","parametersTemplate":"85","productInfo":"1,15,5,1,16,2,2,1",
"pushNotificationID":"0","pushNotificationType":"0","remoteGatewayId":"0","saveLogs":"true","showFireAlarm":"true","showFreezeAlarm":"false",
"smsNotificationID":"0","smsNotificationType":"0","unit":"C","useTemplate":"true","userDescription":"","value":"20.00"},"actions":{"reconfigure":0},"created":1425556131,"modified":1425556131,"sortOrder":45}


I don't know how to filter out the "value":"20.00" which is the current temperature.

I believe I need to update nime5ter's previous syntax
Code: [Select]
"value":"(\w.*?)" that was used when checking if a node was on but I don't know where I can find any help documents on this.  Unfortunately videos didn't help me either. Forgive me if I'm totally off the mark with this.

Thank you in advance.

Steve


5
Feature Requests / Re: Fibaro Home Center 2
« on: February 22, 2015, 04:51:08 AM »
Thanks nime5ter,

I can't try your syntax yet as I'm waiting for my Z-Wave thermostat to arrive.  I hope should be here within the next two weeks so I can complete the integration.  I will reportback as soon as I can.

6
Feature Requests / Re: Fibaro Home Center 2
« on: February 21, 2015, 12:24:07 PM »
For those interested in using Voxcommando with the Fibaro HC2 and following this thread. 

Attached is the latest xml, now incorporating 'Scene Control'. 

Next on to temperature sensor reading and thermostat control.  I think this maybe a lot harder though!.

Commands already included in the attached xml -

1) Switch device # to level ###
2) Switch device # On/Off
3) Start scene #
4) Stop scene #
5) Get current status of device #

7
Feature Requests / Re: Fibaro Home Center 2
« on: February 20, 2015, 04:14:03 PM »
I agree it's a superb program....


Steve

8
Feature Requests / Re: Fibaro Home Center 2
« on: February 20, 2015, 02:51:20 PM »
I don't really know what you mean by "ported for the Fibaro", or why you need VC to "support both devices", which implies you're still using the Vera as well as the Fibaro (??). If so, you can simply use your Vera commands to do those things.

I was using a Vera controller with Voxcommando but decided to move to the Fibaro (mainly for the better user interface for the rest of the family). However I wanted Voxcommando to work with the Fibaro controller as the Vera did.  My Vera has been removed from my setup now that the Fibaro is working.

Now if I can mimic the last two Vera xml's for use with the Fibaro controller, (Scenes and Temperatures) then Voxcommando will work with both controllers and Voxcommando users have a choice on Z-Wave controllers to use.

Thanks to all your coding efforts it's pretty much complete.  I will take a look at those videos again and try to workout the final xml's.

Kindest regards

Steve

9
Feature Requests / Re: Fibaro Home Center 2
« on: February 20, 2015, 02:06:49 PM »
Thanks nime5ter,

Thats brilliant, the latest code reads the garage light just fine. I also appreciate your detailed explanations...

Don't worry about the comments on the Fibaro forum it's not a problem.  I appreciate they may get frustrated from time to time with what may seem like dumb questions.

I expect I'm pushing my luck now but I'm sure you won't blame me for asking.... It would be nice if the last two Vera xmls could also be ported for the Fibaro. That way Voxcommando then has support for both devices.  I have attached the XML's for your perusal/comments.

Kindest regards

Steve

 

10
Feature Requests / Re: Fibaro Home Center 2
« on: February 20, 2015, 07:36:15 AM »

You have been using the "hard-coded" command macro that I asked you to test. It was just a test command for a known device ID.

In order for your command to make use of the 2 types of payloads that you have in your voice command (i.e. the payload XML file that contains all your device ID values, and the payload range of 1,100 %), you need to tell the command macro where those values go:

Code: [Select]
http://192.168.0.155/api/callAction?deviceID={1}&name=setValue&arg1={2}
That is what allows the command to use *any* device ID, and *any* brightness level between 1 and 100 (in this case).

I have watched the tutorial video's but I think I need to look at them again. However think I understand now...

Quote
Anyhow, here is your command group cleaned up, including the one revised command that *may*(?) solve the problem with your garage light not turning on and off.

Thank you for the code.  Early testing is showing good results with switching all types of lights on and off ok. (i.e. dimming devices and relay devices on/off)

Just to confirm, as you already mentioned the garage (on/off type device) is still not working with the correct status when asked if its on or off.

I have posted the question as you have asked on the Fibaro forum and have fingers crossed for an answer.

http://forum.fibaro.com/index.php?/topic/17830-device-status-via-api/


Again many thanks for your help.

Edit 20/02/2015
We have just received a reply on the Fibaro forum -

"That would be the part that says "value":"false" at the end. True is on and false is off"

11
Feature Requests / Re: Fibaro Home Center 2
« on: February 19, 2015, 01:12:52 PM »
Thanks for all the help provided by nime5ter previously on this topic....

I have now completed the migration of my Z-Wave controller from Vera to Fibaro HC2. 

I have now come back to finish the Voxcommando xmls with device names, ID's and phrases.

Unfortunately I am having problems. For example If I say switch porch light on or off it works ok.  If I say switch Garage Light on Voxcommando recognizes it but the light does not switch on.  If I ask if the 'is the garage light is on' Voxcommando responds with the device is on?

I'm also not having any luck with phrases  like 'set porch light to 52%'. Voxcommando recognizes it but the command is not sent?

Attached is my xml and log file.  If anyone could cast their eyes over it and give me any pointers that would be appreciated.

Thanks

Steve

12
Other Plugins / Re: Our Groceries - Auto login issue
« on: February 05, 2015, 01:15:00 PM »
Great that fixed it...  Thanks for all your help today.

Steve

13
Other Plugins / Re: Our Groceries - Auto login issue
« on: February 05, 2015, 12:41:29 PM »
Here you go ....

Log file

[edit: deleted attached command group to protect user data -- nime5ter]

14
Other Plugins / Our Groceries - Auto login issue
« on: February 05, 2015, 12:23:20 PM »

Just as an aside: I did happen to see that you're trying to use the Our Groceries commands. Those won't work until you've entered your Our Groceries login info where indicated in the "update payload XML master list" command -- your email address and password need to replace the RoboB.SetText placeholders [[your login email address]] etc. You should enter that data without any square brackets (assuming you have an OurGroceries account already set up).

Hi nime5ter,

Further to our discussions in another thread, I'm having issues with the auto login part for Our Groceries.

Currently I have to manually login via the browser first.  I have again reinserted my login details as you describe but its still not working for me in the version.  If I select the option to show the browser I can see data is getting dropped in both the password and the check box fields but nothing is going in the email field?

I have attached the log file FYI

[edit: log file deleted after download to protect user data --nime5ter]

15
Feature Requests / Re: Fibaro Home Center 2
« on: February 05, 2015, 12:01:19 PM »
That's fantastic.  The get status code is working great.

Many thanks.

Ok I will open a new thread for the Our Grocery issue shortly.

Pages: [1] 2 3