Page 6 of 7

Re: How use Room Plan ?

Posted: Sunday 21 September 2014 4:33
by Dnpwwo
Build 2011 Added, contains application settings options and the floorplan page respects most of them, the others will be added soon.

They are under the 'Floorplan' section on the 'Application Settings' page:
2.png
2.png (62.39 KiB) Viewed 7283 times
The link on the right is to a page with a load of named colours.
Here's what the shown settings look like (not suggesting that anyone goes with my test colour scheme :) ):
1.png
1.png (196.79 KiB) Viewed 7283 times
The 'Active Room' is the one the mouse is over (not so relevant for tablets) or the one you have zoomed in on.

There are a couple of minor kinks to work out but it should mostly work, let me know if there any problems and remember to refresh your browser cache to make sure you pick up the latest versions of everything.

Re: How use Room Plan ?

Posted: Sunday 21 September 2014 10:25
by fwehrle
Nice! (Except the color sheme! ;)
I will test it ans tell you.

Re: How use Room Plan ?

Posted: Sunday 21 September 2014 16:02
by Christian
hi,
Very good and useful job, congratulation.
I use "floorplans" since 2 weeks and it really add usability to Domoticz.
I will test soon the new update and i will keep you in touch.
In between, i have a question to "Dnpwwo" : I see on your picture than you are using a "Lux Sensor". As i have the project to automatise my blinds linked with luminosity, could you please indicate me what model of lux sensor you use.
I have tried Fibaro FGBS 001 unsuccessfully (in Domoticz, i dont got any value) and i am looking for sensor well implemented in Domoticz (z-vawe or RFXcom).
Thanks for your help
Again GREAT JOB!
Christian

Re: How use Room Plan ?

Posted: Sunday 21 September 2014 20:39
by fwehrle
Hi,

First tests, 2 small issues :
Icon for dusk sensor devices is not good : it's the Domoticz logo! :)
And there is no floorplan background image on iPad.

Re: How use Room Plan ?

Posted: Sunday 21 September 2014 20:39
by fwehrle
Hi,

First tests, 2 small issues :
Icon for dusk sensor devices is not good : it's the Domoticz logo! :)
And there is no floorplan background image on iPad.

Re: How use Room Plan ?

Posted: Monday 22 September 2014 15:10
by Dnpwwo
@Christian, My Lux device is a part of my HSM100 clone devices (made by EzyMotion). Its a 3-in-1 PIR/Temp/Lux detector. Sadly over the last year two out of three no longer function 100% for different reasons so I'm not sure I would recommend them :(

@fwehrle, can you follow these instructions here http://www.domoticz.com/forum/viewtopic ... =60#p20684 so I can see what is going on.

Currently only iOS7 and above is supported. Prior to that iOS didn't handle SVG images properly (which is why the image doesn't appear). I may try and get this working another way in the future because I have an iPad 1 that is stranded on iOS6.

Re: How use Room Plan ?

Posted: Monday 22 September 2014 18:24
by Christian
Hi
Thank you for the info about the Lux sensor.
I will wait a better integration of the fgms001 (one day, it will happened).

Presently, i am running v1.1987 on an Android tablet. The result is good from an image point of view and running well.
Some improvement dedicated to tablet will be useful, but i know you are on the subject.

A remark, for blinds the icon used when blinds are closed (blindsopen48.png)is not very clear, it will be better to use "blinds48sel.png". That is really detail :oops: .

For now, i don't have tested the new version, the previous one is running so well, that i have lot of hesitations!

Christian

Re: How use Room Plan ?

Posted: Monday 22 September 2014 22:21
by fwehrle
I am on iOs 6. :(
Hope you can do something for old devices.
Result of the query : (device name is Nuit)
{ "5MinuteHistoryDays" : 2, "ActTime" : 1411416957, "AllowWidgetOrdering" : true, "DashboardType" : 0, "Latitude" : "48.761778", "Longitude" : "7.850610", "MobileType" : 1, "TempScale" : 1.0, "TempSign" : "C", "WindScale" : 3.600000143051147, "WindSign" : "km/h", "dontcachehtml" : true, "result" : [ { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "Off", "Favorite" : 0, "HardwareID" : 8, "HardwareName" : "Aeon Z-Stick 2", "HaveDimmer" : true, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "0000D02", "Image" : "Light", "IsSubDevice" : false, "LastUpdate" : "2014-09-22 19:45:37", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 16, "Name" : "Lumières Jardin", "Notifications" : "false", "PlanID" : "11", "Protected" : false, "SignalLevel" : 7, "Status" : "Off", "StrParam1" : "", "StrParam2" : "", "SubType" : "AC", "SwitchType" : "On/Off", "SwitchTypeVal" : 0, "Timers" : "false", "Type" : "Lighting 2", "TypeImg" : "lightbulb", "Unit" : 1, "Used" : 1, "UsedByCamera" : false, "XOffset" : "321", "YOffset" : "619", "idx" : "213" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 11, "Data" : "Off", "Favorite" : 1, "HardwareID" : 2, "HardwareName" : "Dummy", "HaveDimmer" : false, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "68", "Image" : "Water", "IsSubDevice" : false, "LastUpdate" : "2014-08-12 08:08:45", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 0, "Name" : "Arrosage", "Notifications" : "false", "PlanID" : "11", "Protected" : true, "SignalLevel" : 7, "Status" : "Off", "StrParam1" : "", "StrParam2" : "", "SubType" : "X10", "SwitchType" : "On/Off", "SwitchTypeVal" : 0, "Timers" : "false", "Type" : "Lighting 1", "TypeImg" : "lightbulb", "Unit" : 3, "Used" : 1, "UsedByCamera" : false, "XOffset" : "600", "YOffset" : "549", "idx" : "96" }, { "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "1008.9 Bar", "Favorite" : 0, "HardwareID" : 2, "HardwareName" : "Dummy", "HaveTimeout" : false, "ID" : "90013", "LastUpdate" : "2014-09-22 22:15:06", "Name" : "Baromètre NetAtmo", "Notifications" : "false", "PlanID" : "11", "Pressure" : 1008.90, "Protected" : false, "SignalLevel" : 12, "SubType" : "Pressure", "Timers" : "false", "Type" : "General", "TypeImg" : "gauge", "Unit" : 1, "Used" : 1, "XOffset" : "922", "YOffset" : "172", "idx" : "169" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 10, "Data" : "Off", "Favorite" : 1, "HardwareID" : 2, "HardwareName" : "Dummy", "HaveDimmer" : false, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "66", "Image" : "Fireplace", "IsSubDevice" : false, "LastUpdate" : "2014-09-20 15:23:24", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 0, "Name" : "Canicule", "Notifications" : "false", "PlanID" : "11", "Protected" : true, "SignalLevel" : 7, "Status" : "Off", "StrParam1" : "", "StrParam2" : "", "SubType" : "X10", "SwitchType" : "On/Off", "SwitchTypeVal" : 0, "Timers" : "false", "Type" : "Lighting 1", "TypeImg" : "lightbulb", "Unit" : 4, "Used" : 1, "UsedByCamera" : false, "XOffset" : "436", "YOffset" : "546", "idx" : "73" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 9, "Data" : "Off", "Favorite" : 0, "HardwareID" : 2, "HardwareName" : "Dummy", "HaveDimmer" : false, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "68", "Image" : "Generic", "IsSubDevice" : false, "LastUpdate" : "2014-09-21 15:01:04", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 0, "Name" : "Consigne Arrosage", "Notifications" : "false", "PlanID" : "11", "Protected" : false, "SignalLevel" : 7, "Status" : "Off", "StrParam1" : "aHR0cDovLzE5Mi4xNjguMS45L3ByaXZhdGUvc2V0QWN0aW9uLnBocD9wPTAmdD1BcnJvc2FnZSZzPURvbW90aWN6JmU9T24mY2k9R0VTVElPTl9BUlJPU0FHRQ==", "StrParam2" : "aHR0cDovLzE5Mi4xNjguMS45L3ByaXZhdGUvc2V0QWN0aW9uLnBocD9wPTAmdD1BcnJvc2FnZSZzPURvbW90aWN6JmU9T2ZmJmNpPUdFU1RJT05fQVJST1NBR0U=", "SubType" : "X10", "SwitchType" : "On/Off", "SwitchTypeVal" : 0, "Timers" : "false", "Type" : "Lighting 1", "TypeImg" : "lightbulb", "Unit" : 8, "Used" : 1, "UsedByCamera" : false, "XOffset" : "638", "YOffset" : "456", "idx" : "103" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 100, "CustomImage" : 13, "Data" : "Off", "Favorite" : 1, "HardwareID" : 2, "HardwareName" : "Dummy", "HaveDimmer" : false, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "69", "Image" : "Alarm", "IsSubDevice" : false, "LastUpdate" : "2014-09-22 22:15:07", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 0, "Name" : "Courrier", "Notifications" : "false", "PlanID" : "11", "Protected" : false, "SignalLevel" : 12, "Status" : "Off", "StrParam1" : "", "StrParam2" : "", "SubType" : "X10", "SwitchType" : "On/Off", "SwitchTypeVal" : 0, "Timers" : "false", "Type" : "Lighting 1", "TypeImg" : "lightbulb", "Unit" : 1, "Used" : 1, "UsedByCamera" : false, "XOffset" : "148", "YOffset" : "376", "idx" : "123" }, { "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "On", "Favorite" : 0, "HardwareID" : 2, "HardwareName" : "Dummy", "HaveDimmer" : false, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "65", "Image" : "Light", "IsSubDevice" : false, "LastUpdate" : "2014-09-22 19:21:32", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 0, "Name" : "Crépuscule", "Notifications" : "false", "PlanID" : "11", "Protected" : true, "SignalLevel" : 7, "Status" : "On", "StrParam1" : "", "StrParam2" : "", "SubType" : "X10", "SwitchType" : "Dusk Sensor", "SwitchTypeVal" : 12, "Timers" : "true", "Type" : "Lighting 1", "TypeImg" : "lightbulb", "Unit" : 15, "Used" : 1, "UsedByCamera" : false, "XOffset" : "510", "YOffset" : "89", "idx" : "64" }, { "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "Humidity 75 %", "Favorite" : 1, "HardwareID" : 2, "HardwareName" : "Dummy", "HaveTimeout" : false, "Humidity" : 75, "HumidityStatus" : "Normal", "ID" : "15F9C", "LastUpdate" : "2014-09-22 22:15:08", "Name" : "Humidité Ext. NetAtmo", "Notifications" : "false", "PlanID" : "11", "Protected" : false, "SignalLevel" : 12, "SubType" : "Unknown", "Timers" : "false", "Type" : "Humidity", "TypeImg" : "temperature", "Unit" : 2, "Used" : 1, "XOffset" : "921", "YOffset" : "235", "idx" : "150" }, { "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "Humidity 88 %", "Favorite" : 0, "HardwareID" : 2, "HardwareName" : "Dummy", "HaveTimeout" : false, "Humidity" : 88, "HumidityStatus" : "Wet", "ID" : "140A0", "LastUpdate" : "2014-09-22 22:15:16", "Name" : "Humidité. Ext.", "Notifications" : "false", "PlanID" : "11", "Protected" : false, "SignalLevel" : 12, "SubType" : "LaCrosse TX3", "Timers" : "false", "Type" : "Humidity", "TypeImg" : "temperature", "Unit" : 1, "Used" : 1, "XOffset" : "923", "YOffset" : "299", "idx" : "81" }, { "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "0.00%", "Favorite" : 1, "HardwareID" : 2, "HardwareName" : "Dummy", "HaveTimeout" : false, "ID" : "82128", "Image" : "Computer", "LastUpdate" : "2014-09-22 22:15:15", "Name" : "Luminosité Ext.", "Notifications" : "false", "PlanID" : "11", "Protected" : false, "SignalLevel" : 12, "SubType" : "Percentage", "Timers" : "false", "Type" : "General", "TypeImg" : "hardware", "Unit" : 1, "Used" : 1, "XOffset" : "921", "YOffset" : "67", "idx" : "129" }, { "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "On", "Favorite" : 0, "HardwareID" : 2, "HardwareName" : "Dummy", "HaveDimmer" : false, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "66", "Image" : "Light", "IsSubDevice" : false, "LastUpdate" : "2014-09-22 19:45:33", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 0, "Name" : "Nuit", "Notifications" : "false", "PlanID" : "11", "Protected" : true, "SignalLevel" : 7, "Status" : "On", "StrParam1" : "", "StrParam2" : "", "SubType" : "X10", "SwitchType" : "Dusk Sensor", "SwitchTypeVal" : 12, "Timers" : "false", "Type" : "Lighting 1", "TypeImg" : "lightbulb", "Unit" : 2, "Used" : 1, "UsedByCamera" : false, "XOffset" : "511", "YOffset" : "26", "idx" : "69" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 11, "Data" : "Off", "Favorite" : 1, "HardwareID" : 2, "HardwareName" : "Dummy", "HaveDimmer" : false, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "68", "Image" : "Water", "IsSubDevice" : false, "LastUpdate" : "2014-08-21 11:03:20", "Level" : 0, "LevelInt" : 0, "MaxDimLevel" : 0, "Name" : "Pluie", "Notifications" : "false", "PlanID" : "11", "Protected" : true, "SignalLevel" : 7, "Status" : "Off", "StrParam1" : "", "StrParam2" : "", "SubType" : "X10", "SwitchType" : "On/Off", "SwitchTypeVal" : 0, "Timers" : "false", "Type" : "Lighting 1", "TypeImg" : "lightbulb", "Unit" : 2, "Used" : 1, "UsedByCamera" : false, "XOffset" : "923", "YOffset" : "113", "idx" : "95" }, { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 10.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 0, "Data" : "12.8 C, 88 %", "DewPoint" : "10.88", "Favorite" : 1, "HardwareID" : 2, "HardwareName" : "Dummy", "HaveTimeout" : false, "Humidity" : 88, "HumidityStatus" : "Wet", "ID" : "1409F", "LastUpdate" : "2014-09-22 22:15:17", "Name" : "Temp. Hum. Ext.", "Notifications" : "false", "PlanID" : "11", "Protected" : false, "SignalLevel" : 12, "SubType" : "THGN122/123, THGN132, THGR122/228/238/268", "Temp" : 12.820, "Timers" : "false", "Type" : "Temp + Humidity", "TypeImg" : "temperature", "Unit" : 1, "Used" : 1, "XOffset" : "921", "YOffset" : "21", "idx" : "80" } ], "status" : "OK", "title" : "Devices" }

Re: How use Room Plan ?

Posted: Tuesday 23 September 2014 13:04
by Dnpwwo
@fwehrle, try build 2018. Dusk Sensor should show the correct image.

@Christian, I kept the floorplan cons consistent with the ones used elsewhere (at least I think I did) so I'm reluctant to change it. Is the problem that the middle of the icon is transparent? If so you can ask gizmocuz to change the icon and the floorplans will pick it up automatically.

Re: How use Room Plan ?

Posted: Thursday 25 September 2014 22:26
by fwehrle
@Dnpwwo : thank you. It's good. But image still didn't appear on ios6. :-/

Re: How use Room Plan ?

Posted: Saturday 27 September 2014 11:40
by Dnpwwo
@fwehrle, iOS6 is a bit of a lost cause when it comes to Scalar Vector Graphics (which is what the floorplans use), its just plain buggy. Annoys me too because I have an iPad 1 but not much I can do apart from making the floorplan page redirect to the normal dashboard for iOS < 7.

@LanWolf, try build 2021. It has implemented the delayed popup functionality that you suggested. You will need to set the "Popup Activation Delay"under applications settings, I would recommend a value of around 750. The new build defaults it to that, previous betas defaulted to 0. Let me know if it works.

Re: How use Room Plan ?

Posted: Sunday 28 September 2014 12:25
by domotest7766
Hello,

I have the 1.2015 build and try to use floorplan. I can configure it and see it trough Setup-> More Options. But when I try to activate the Dashboard mode (floorplan) and add the Active menu (floorplan) nothing happens. I only see the floorplan if I start the domoticz process with an empty database.

Re: How use Room Plan ?

Posted: Monday 29 September 2014 12:59
by Dnpwwo
Firstly, try navigating directly to the URL: [url]http://<yourserver>:8080/#/Floorplans[/url]. If that works then its probably just a caching issue, try clearing you browser cache or use a different browser.

Also you need to select EITHER the Dashboard Mode OR the Active Menu because:
  • The Active Menu will show a floorplan tab but that can cause wrapping issues if you show all tabs.
  • The Dashboard mode will suppress the floorplan tab and (should) show the floorplan instead of the old dashboard (to work around the problem above)
Second I would try setting the Dashboard Mode back 'Normal' and show the Floorplan Active Menu, that has been in place longer so will be less prone to caching issues.

Re: How use Room Plan ?

Posted: Monday 29 September 2014 13:53
by LanWolf
@Dnpwwo
i recently updated to 2026, works great with the popup time! also now all values are shown at 1st loading

what i would like to see in floorplan, is an option to remove a switch or sensor or scene button from the screen, without removing them from the roomplan completely.
for ie, on the dashboard i use the rooms, with thereby some scenes, but i don't want these scenes on the floor plan.
Also i have for ie my outside temp shown in my living room and in my bedroom "room" (when in bed i can check outside temps, to see if i come out of bed or not :mrgreen: )
now have double icons on the floor plan for these.

Re: How use Room Plan ?

Posted: Monday 29 September 2014 13:58
by LanWolf
Oopps :o double post

Re: How use Room Plan ?

Posted: Monday 29 September 2014 14:03
by fwehrle
To do this, I just create a special room just for floorplan.
And keep the original room for dashboard.

Re: How use Room Plan ?

Posted: Tuesday 30 September 2014 9:34
by mongoose
Hi,

Just found a small bug, tried in opera, as well as IE, under Roomplanedit once you create more than 10 Room areas, you stop being able to select the 11th onward ones... you can see them just not select them to draw an area...

Really enjoying this so far, it was the one thing I always thought was missing from Domoticz!

cheers

Larry

Re: How use Room Plan ?

Posted: Tuesday 30 September 2014 11:24
by Dnpwwo
@Larry, if you are running Betas, give build 2030 a go, should be fixed.

@LanWolf, glad hear that values are appearing now. Gizmocuz has also requested an update to the editor to only include explicitly positioned devices on the floorplan, its on the list.

How use Room Plan ?

Posted: Tuesday 30 September 2014 11:47
by LanWolf
@Dnpwwo
Thanks, that makes is a lot easier
another wanted feature might be to be able to add free movable texts to the plan ( so i can set a text by a scene button, and things like that)

Also the upper bar is double size with the Domoticz and buttons on my ipad, it hides the plan selection. Maybe it should go to small icons on tablets ?

Image

Re: How use Room Plan ?

Posted: Tuesday 30 September 2014 12:15
by tommysharp
@LanWolf Sorry if you've said before but what program are you using to create your 3d for plans?