How use Room Plan ?
Moderators: leecollings, remb0
-
- Posts: 33
- Joined: Thursday 05 June 2014 13:09
- Target OS: Linux
- Domoticz version:
- Contact:
Re: How use Room Plan ?
I only have a few test devices so quickly saw that if you have the same device on different FloorPlans then if you move it on one floor then it changes on the other....
Might be nice to be able to use the same room on different floor plans. I think you're locking yourself into the idea that there can only be one of each room in the entire house. But what if I wanted a room called "Whole House" in which I have devices like total power consumption, total water consumption etc.... I'd like to see these devices on more than one FloorPlan.
I still like the idea of being able to define "hot spots" on the FloorPlan. We could then photoshop buttons for various things onto the background image. The hotspot just has coordinates much like you do for a room, and then when it's clicked or touched it launches something. My first thought would be that you can make it launch a different FloorPlan, that would allow for jumping from one FloorPlan to another without clicking through PREV and NEXT. But the possibilities could be endless, the "hot spot" could run a "scene" or whatever the term is that could switch on a whole bunch of lights or do something.
Admittedly my experience with Domoticz is still VERY limited and I don't actually have any actionable devices in my system yet. Just working with raspberry motherboard values and the weather undergound plugin. So apologies if I'm suggesting something that is possible in another way.
Also.... Is it possible to browse directly to a specific FloorPlan? It always seem to open the first one. I'm thinking if I had a tablet on the wall downstairs I'd want it to always open a specific floorplan and have the tabled upstairs always open another floorplan....
On an android touch device how do we get the popup to show like it does on a PC when you hover over an icon? On the desktop if I hover over a temperature device I get a popup showing the current temp etc. On a touchscreen device clicking on it opens up the charts for the device.
Might be nice to be able to use the same room on different floor plans. I think you're locking yourself into the idea that there can only be one of each room in the entire house. But what if I wanted a room called "Whole House" in which I have devices like total power consumption, total water consumption etc.... I'd like to see these devices on more than one FloorPlan.
I still like the idea of being able to define "hot spots" on the FloorPlan. We could then photoshop buttons for various things onto the background image. The hotspot just has coordinates much like you do for a room, and then when it's clicked or touched it launches something. My first thought would be that you can make it launch a different FloorPlan, that would allow for jumping from one FloorPlan to another without clicking through PREV and NEXT. But the possibilities could be endless, the "hot spot" could run a "scene" or whatever the term is that could switch on a whole bunch of lights or do something.
Admittedly my experience with Domoticz is still VERY limited and I don't actually have any actionable devices in my system yet. Just working with raspberry motherboard values and the weather undergound plugin. So apologies if I'm suggesting something that is possible in another way.
Also.... Is it possible to browse directly to a specific FloorPlan? It always seem to open the first one. I'm thinking if I had a tablet on the wall downstairs I'd want it to always open a specific floorplan and have the tabled upstairs always open another floorplan....
On an android touch device how do we get the popup to show like it does on a PC when you hover over an icon? On the desktop if I hover over a temperature device I get a popup showing the current temp etc. On a touchscreen device clicking on it opens up the charts for the device.
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: How use Room Plan ?
Adding file uploading comes with security issues (particularly if you expose your Domoticz instance to the internet) so I avoided it. A 'select existing file' upgrade is in the works (gizmocuz has offered to add it while I focus on working through bug fixing and finishing a few bits of functionality). At some stage this functionality will need to be added to the User Guide and we can cover off uploading then.tommysharp wrote:For the amateurs (me!) it'd be great to have an easy way to upload images to use as the room backgrounds. You say they need to be put somewhere in the WWW folder which I guess I have to use TELNET or FTP or something..... An upload option in the Domoticz web site would be great!
EDIT : Okay a quick google shows me that it's pretty straight forward to connect with something like FileZilla and Secure FTP SSH..... But an upload option or select already uploaded file when creating a new floor plan would still be great
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: How use Room Plan ?
Upped another build tonight that should resolve a number of FireFox issues (not Drag & Drop though, I'll look at that tomorrow).
Nope, they are just the standard Domoticz icons.I do like all the new device icons. Have you had to construct them individually?
This shows if the device is a 'favorite' or not. Doesn't obscure the 'last seen' time for me, can you post a screen shot?In the bottom right corner of the device information pop-up, partially obscuring the last seen time, there's a blue or yellow star. Is this intentional? What does it signify?
Maybe I could show the other floors/devices greyed out or something in a future release, I'll need to think it through.When editing one room plan, you can't see where you have put the items on another room plan so it's easy to overlap things without realising; you can only see the combined version on the live screen, where you can't edit anything to fix overlaps
There were a couple of bugs early on in the deletion code which could have caused this. This is controlled through the 'Plans' table in the database, setting the FloorplanID to 0 would make them show up in the list again.In the process of experimenting, I've added and deleted floorplans several times, and now I've ended up with the room plans menu missing some of the room plans that I previously used on the deleted floor plans. Is there any way to reset it so they all come back?
This was a bug, devices can have different locations in different rooms.I only have a few test devices so quickly saw that if you have the same device on different FloorPlans then if you move it on one floor then it changes on the other....
This is already possible, I have two roomplans both called 'Outside' with the same devices in them (weather stuff), one shows on each of my Floorplans.Might be nice to be able to use the same room on different floor plans. I think you're locking yourself into the idea that there can only be one of each room in the entire house. But what if I wanted a room called "Whole House" in which I have devices like total power consumption, total water consumption etc.... I'd like to see these devices on more than one FloorPlan.
This could be used to link to other floorplans, I'll add it to the feature list. I don't think you would use it to run scenes though, surely you would just show the scene itself in the floorplan and click on it (this works today).I still like the idea of being able to define "hot spots" on the FloorPlan.
I will put this in at some stage but I tried once and failed to make it work so moved on to more pressing thingsAlso.... Is it possible to browse directly to a specific FloorPlan?
I don't have an Android device but on an iPad clicking on an icon shows the popup (same as browser hover) and clicking the popup shows the log (or activates the device). This is done by mapping the click and mouseover events to the same thing so it should work everywhere. If any Android devs can point out why this wouldn't work please do so.On an android touch device how do we get the popup to show like it does on a PC when you hover over an icon? On the desktop if I hover over a temperature device I get a popup showing the current temp etc. On a touchscreen device clicking on it opens up the charts for the device.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 33
- Joined: Thursday 05 June 2014 13:09
- Target OS: Linux
- Domoticz version:
- Contact:
Re: How use Room Plan ?
So in your example you have had to setup two rooms called "Outside".... You can't use one room on multiple floorplans?This is already possible, I have two roomplans both called 'Outside' with the same devices in them (weather stuff), one shows on each of my Floorplans.
I still like the idea of clickable hotspots to run some sort of action like a scene. Having an image on the screen somewhere of a button called "Bed Time!" which runs a scene when clicked that would switch off a bunch of stuff. I suppose I could just put a scene in the room but the image icons are not very customizable as far as I know... All scenes seem to have the same icon? I suppose I could put the scene icon next to some text on the screen saying "Bed Time".
Any way to change the device icons? Both of the % icons on my screen are for the Raspberry Pi HD and Memory usage... At first glance it's not possible to see which is which...
Would be awesome to see the actual percentage or value of things like temperature or power use without having to click on them...
- Attachments
-
- 2014-08-06_074613.jpg (12.4 KiB) Viewed 10707 times
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: How use Room Plan ?
Not with the current data model.You can't use one room on multiple floorplans?
This is on the list of enhancements. I'm trying to stabilize the current functionality first.Would be awesome to see the actual percentage or value of things like temperature or power use without having to click on them...
Added version 1880
- More Firefox fixes, everything apart from drag & drop should work. (Drag & Drop 1/2 works)
- Added link to editor in main page if no floorplans have been defined
- Added display of all roomplans on a floorplan to editor to prevent people from accidentally overlapping them
- Added mouse position feed back
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: How use Room Plan ?
Upped build 1891.
- Prevented popups from going off the right hand side of the screen
- Fixed bug where the same device could not be on a floorplan more than once (only the 1st one appeared)
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 222
- Joined: Tuesday 22 July 2014 7:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Netherlands
- Contact:
Re: How use Room Plan ?
thanks, for all your updates and for the good work
After the last build 1.1894 I lost my icons on the floorplans
I only get an empty floorplan with the room in clickable blue
Is there something wrong on my site?
I always unpack all the gz files in the www root. ( my employer blocks them) can that be my problem?
kee up the good work
After the last build 1.1894 I lost my icons on the floorplans
I only get an empty floorplan with the room in clickable blue
Is there something wrong on my site?
I always unpack all the gz files in the www root. ( my employer blocks them) can that be my problem?
kee up the good work
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: How use Room Plan ?
The js file should go into the www/js folder and that is most probably your problem. If you move them and it still doesn't work let me know, I keep my build as up to date as possible and it is still working for me.
I did make changes to the server end in build 1891 that could cause a problem like this but I checked SourceForge last night and they still seem to be in place. I kicked off a build to 1899 but it was still going when I had to go to work so I can't verify it yet.
If it still doesn't work can you supply the following details:
I did make changes to the server end in build 1891 that could cause a problem like this but I checked SourceForge last night and they still seem to be in place. I kicked off a build to 1899 but it was still going when I had to go to work so I can't verify it yet.
If it still doesn't work can you supply the following details:
- which browser(s) have you tried?
- Does the floorplan editor still work?
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 222
- Joined: Tuesday 22 July 2014 7:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Netherlands
- Contact:
Re: How use Room Plan ?
Dnpwwo wrote:The js file should go into the www/js folder and that is most probably your problem. If you move them and it still doesn't work let me know, I keep my build as up to date as possible and it is still working for me.
I did make changes to the server end in build 1891 that could cause a problem like this but I checked SourceForge last night and they still seem to be in place. I kicked off a build to 1899 but it was still going when I had to go to work so I can't verify it yet.
If it still doesn't work can you supply the following details:
- which browser(s) have you tried?
- Does the floorplan editor still work?
Hi, I updated to the latest build 1.1902. Same problem. I tested under chrome and ie 11: same problem
I removed room plans with double items : same problem
I removed room plans without area: same problem
Tried it at home with android : same problem
Tried it all remote ( through proxies and reverse proxy) and local: same problem
Floorplanedit is working fine.
JS file are in the place the should be ( looks like it)
It worked fine until yesterday.
What I also noticed is that the popup "browser cache is being refreshed " does not disappear anymore
FYI : i am running on raspberry
I think it is on my site, but I cannot find it
I manually forced an new update after I removed the unpacked js files.: same problem ( I know there should be two unpacked js files in the update)
and again: Keep up the good work, I love it
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: How use Room Plan ?
okay, if the editor works but the main page doesn't then the issue is with the Domoticz application on the Pi. I upgraded the interface the the main page uses to allow it to pull devices by floor plan rather than by room so if that function is not present on the back end you won't get anything.
Try forcing a refresh of the key files by logging on to the Pi and:
Try forcing a refresh of the key files by logging on to the Pi and:
- cd domtoicz
- rm main/WebServer.*
- svn update (it should restore WebServer.h & WebServer.cpp)
- grep floorid main/WebServer.* (you should see 2 matches, one mention of GetJSONDevices)
- updatedomo
- reboot
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 222
- Joined: Tuesday 22 July 2014 7:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Netherlands
- Contact:
Re: How use Room Plan ?
Dnpwwo wrote:okay, if the editor works but the main page doesn't then the issue is with the Domoticz application on the Pi. I upgraded the interface the the main page uses to allow it to pull devices by floor plan rather than by room so if that function is not present on the back end you won't get anything.
Try forcing a refresh of the key files by logging on to the Pi and:Make sure the updatedomo steps doesn't show any errors and it should work.
- cd domtoicz
- rm main/WebServer.*
- svn update (it should restore WebServer.h & WebServer.cpp)
- grep floorid main/WebServer.* (you should see 2 matches, one mention of GetJSONDevices)
- updatedomo
- reboot
Hi, I am using the update option from within domoticz
I don't use SVN.
I dont have mail/WebServer.*
I updated now to version 1.1905. same problem
sorry
edit:
I removed all
I downloaded SVN
compile all
copied the DB into the new baked one
copied the floorplans\*.jpg
still the same problem.....
Edit works fine
plans not
Last edited by qwerk on Wednesday 13 August 2014 22:57, edited 1 time in total.
-
- Posts: 10
- Joined: Friday 14 February 2014 13:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: marseille
- Contact:
Re: How use Room Plan ?
excuse me but i haven't any item for launch the floorplanedit , it's normal ?
my version is 1905 .
thanks
my version is 1905 .
thanks
------------------------------------------
1x Raspberry - Domoticz - PhpMyDomo - ISS-Domo - ImperiHome (Lite)
1x RFXTRX USB 433
4x Chacon 54755
3x prises chacon
1x THN132N
2x TX17
3x TX3
------------------------------------------
1x Raspberry - Domoticz - PhpMyDomo - ISS-Domo - ImperiHome (Lite)
1x RFXTRX USB 433
4x Chacon 54755
3x prises chacon
1x THN132N
2x TX17
3x TX3
------------------------------------------
-
- Posts: 19
- Joined: Tuesday 29 April 2014 1:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Paris, France
- Contact:
Re: How use Room Plan ?
Hello Vincent,
Yes it is, it is an 'alpha' feature... It is only available with manual URL.
@Dnpwwo : I will try more but it look likes mys Domoticz crashes when I try to create a plan :-/ I specify the name, the file path (relative to www) and I obtain a red popup with "Problem adding Plans!"... And my process domoticz is no more
Domoticz version is 1.1899
Regards
Yes it is, it is an 'alpha' feature... It is only available with manual URL.
@Dnpwwo : I will try more but it look likes mys Domoticz crashes when I try to create a plan :-/ I specify the name, the file path (relative to www) and I obtain a red popup with "Problem adding Plans!"... And my process domoticz is no more

Domoticz version is 1.1899
Regards
-
- Posts: 19
- Joined: Tuesday 29 April 2014 1:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Paris, France
- Contact:
Re: How use Room Plan ?
Issue is more important and simple : as soon as I go to URL http://myserver:80/#Floorplanedit, domotics process is killed... 

-
- Posts: 10
- Joined: Friday 14 February 2014 13:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: marseille
- Contact:
Re: How use Room Plan ?
thanks Golgautier 

------------------------------------------
1x Raspberry - Domoticz - PhpMyDomo - ISS-Domo - ImperiHome (Lite)
1x RFXTRX USB 433
4x Chacon 54755
3x prises chacon
1x THN132N
2x TX17
3x TX3
------------------------------------------
1x Raspberry - Domoticz - PhpMyDomo - ISS-Domo - ImperiHome (Lite)
1x RFXTRX USB 433
4x Chacon 54755
3x prises chacon
1x THN132N
2x TX17
3x TX3
------------------------------------------
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: How use Room Plan ?
@qwerk, can you try this URL from your browser:[url]http://<your_server>:8080/json.htm?type=devices&filter=all&used=true&order=Name&floor=1[/url] and post the response.
@Golgautier, I haven't seen that before. If there is an error in the log can you post it? If not, can run run domoticz from the command line with debug on, then crash it and post the log.(there are posts on the forum that explain how)
Also, if you know how, can you have a look at the database and check that the Floorplans table exists? I can't think of anything else that could make it crash at that point.
@Golgautier, I haven't seen that before. If there is an error in the log can you post it? If not, can run run domoticz from the command line with debug on, then crash it and post the log.(there are posts on the forum that explain how)
Also, if you know how, can you have a look at the database and check that the Floorplans table exists? I can't think of anything else that could make it crash at that point.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 19
- Joined: Tuesday 29 April 2014 1:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Paris, France
- Contact:
Re: How use Room Plan ?
@dnpwwo
I think missing table is the good way to explore (But i don't know how to connect on domoticz DB :-/)
My test gave me this log output :
I think missing table is the good way to explore (But i don't know how to connect on domoticz DB :-/)
My test gave me this log output :
Code: Select all
Thu Aug 14 16:00:06 2014 Error: no such column: FloorplanID
Segmentation fault
-
- Posts: 222
- Joined: Tuesday 22 July 2014 7:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Netherlands
- Contact:
Re: How use Room Plan ?
Dnpwwo wrote:@qwerk, can you try this URL from your browser:[url]http://<your_server>:8080/json.htm?type=devices&filter=all&used=true&order=Name&floor=1[/url] and post the response.
@Golgautier, I haven't seen that before. If there is an error in the log can you post it? If not, can run run domoticz from the command line with debug on, then crash it and post the log.(there are posts on the forum that explain how)
Also, if you know how, can you have a look at the database and check that the Floorplans table exists? I can't think of anything else that could make it crash at that point.
Hi,
I am a real $%%^#^&^
last week ( or the one before) I had a problem with showing the floorplans, domoticz showed the next - previous buttons but there was only 1 plan ( plan 2)
I fixed that in the DB. but forgot all about it.
Now the floorplan section was showing wrong items again. I fixed them manually and now it looks alright.
stupid memory .........
thanks a lot for trying to solve my stupid problem.
your improvements are very nice.
I had made virtual sensors to add extra devices to show more than one ( I switch multiple lights with one switch) your solution works fine , I don't need the virtuals anymore
thanks again
-
- Posts: 19
- Joined: Tuesday 29 April 2014 1:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Paris, France
- Contact:
Re: How use Room Plan ?
It looks like DB is not up to date. How I can solve thi problem ?Dnpwwo wrote: @Golgautier, I haven't seen that before. If there is an error in the log can you post it? If not, can run run domoticz from the command line with debug on, then crash it and post the log.(there are posts on the forum that explain how)
Also, if you know how, can you have a look at the database and check that the Floorplans table exists? I can't think of anything else that could make it crash at that point.
Thx
-
- Posts: 38
- Joined: Friday 27 December 2013 3:13
- Target OS: Linux
- Domoticz version: Beta
- Location: Friesland
- Contact:
Re: How use Room Plan ?
Just add the next links it to a custom page:
http://<domoticzadress>:8080/#Floorplans
http://<domoticzadress>:8080/#Floorplanedit
I made a custom html file http://<domoticzadress>:8080/#templates/links (it will show below the "Custom" tab)
peter@peter-ZBOX-ID18:/var/ramdrive/www/templates$ cat links.html (added other links too)
http://<domoticzadress>:8080/#Floorplans
http://<domoticzadress>:8080/#Floorplanedit
I made a custom html file http://<domoticzadress>:8080/#templates/links (it will show below the "Custom" tab)
peter@peter-ZBOX-ID18:/var/ramdrive/www/templates$ cat links.html (added other links too)
Code: Select all
<!DOCTYPE html>
<html>
<body>
<p><a href="http://<domoticzadress>:8080/#Floorplans">Floerplannen</a></p>
<p><a href="http://<domoticzadress>:8080/#Floorplanedit">Floerplan Bewurkje</a></p>
<p><a href="http://www.knmi.nl/waarschuwingen_en_verwachtingen">Waar Warskogingen en Ferwachtingen</a></p>
<p><p><a href="http://www.knmi.nl/actueel/index.html">Waar Aktueel</a></p>
<a href="http://wolken.buienradar.nl/nl">Satelietbield Bewolking</a></p>
<p><a href="http://www.buienradar.nl/bliksem-1-uur">Buien en Bliksems fan de leste Oere</a></p>
<p><a href="http://sourceforge.net/p/domoticz/code/HEAD/tree/">Domoticz Oarspronkelike Koade</a></p>
<p><a href="http://www.domoticz.com/forum/">Domoticz Forum</a></p>
</body>
</html>
Last edited by Pjedr on Sunday 17 August 2014 12:56, edited 2 times in total.
Who is online
Users browsing this forum: No registered users and 1 guest