Search found 377 matches

by HansieNL
Thursday 20 September 2018 16:33
Forum: LUA
Topic: Get Domoticz Uptime in Lua or via Json?
Replies: 6
Views: 207

Re: Get Domoticz Uptime in Lua or via Json?

@waaren: Thanks!
by HansieNL
Thursday 20 September 2018 14:10
Forum: Dashticz
Topic: Dashticz - Show your dashboard and how-to's!
Replies: 431
Views: 102476

Re: Dashticz - Show your dashboard and how-to's!

How did you make the buienradar umbrella thing? Nice ! I use a LUA script for the Buienradar info: -- script_time_buienradar.lua -- -- BuienRadar Module -- -- curl in os required!! -- create dummy text device from dummy hardware 'Buien Radar' -- create dummy rain sensor from dummy hardware 'BuienRa...
by HansieNL
Thursday 20 September 2018 0:48
Forum: Dashticz
Topic: Dashticz - Show your dashboard and how-to's!
Replies: 431
Views: 102476

Re: Dashticz - Show your dashboard and how-to's!

I like the idea of having a button that shows how long Domoticz is up so I can use it in Dashticz. I did find after trial and error some code that works... :o :shock: -- script_time_uptime.lua -- -- Domoticz Configuration local server="192.168.1.11" -- Domoticz IP address local port="8080" -- Domoti...
by HansieNL
Wednesday 19 September 2018 17:13
Forum: LUA
Topic: Get Domoticz Uptime in Lua or via Json?
Replies: 6
Views: 207

Re: Get Domoticz Uptime in Lua or via Json?

I like the idea of having a button that shows how long Domoticz is up so I can use it in Dashticz. I did find after trial and error some code that works... :o :shock: -- Domoticz Configuration server="192.168.2.14" port="8081" switch="Uptime" json = (loadfile "/home/pi/domoticz/scripts/lua/JSON.lua"...
by HansieNL
Sunday 16 September 2018 17:05
Forum: Bugs and Problems
Topic: domoticz gone "offline" after 1.5 year
Replies: 55
Views: 2338

Re: domoticz gone "offline" after 1.5 year

poudenes wrote:
Sunday 16 September 2018 12:39
And easier to create a image of a 32GB SSD instead of 128GB now :)
You can easy resize the partitions with gparted (linux). I use a 32GB mSATA disk and create an image of 8GB. After zipping it's even only 800MB in size.
by HansieNL
Thursday 13 September 2018 17:01
Forum: Bugs and Problems
Topic: Problem on/off action for System Alive Checker (Ping)
Replies: 2
Views: 86

Re: Problem on/off action for System Alive Checker (Ping)

I made 3 dummy switches and use a LUA script to ping the devices and they have off scripts. Maybe you can use this LUA script: commandArray={} -- Debug mode (display of messages) debug=true -- Prefix for log outputs prefixe="(Ping) " -- Table of devices to ping -- Key = ip address to ping -- Value =...
by HansieNL
Monday 10 September 2018 22:37
Forum: Other questions and discussions
Topic: doorbell script
Replies: 5
Views: 287

Re: doorbell script

Maybe you can take a look at the HUE API. https://www.developers.meethue.com/docu ... ng-started
With a curl command a lot is possible:

Code: Select all

curl -H "Accept: application/json" -X PUT --data '{"alert":"select"}' http://<hue-bridge-ip>/api/<hue-username>/lights/4/state
by HansieNL
Monday 10 September 2018 15:51
Forum: Dashticz
Topic: Dashticz - Bug report
Replies: 435
Views: 49702

Re: Dashticz - Bug report

Have you already tried in Domoticz - Setup - Settings - System - Local Networks (no username/password) to set your local network?
by HansieNL
Sunday 09 September 2018 13:50
Forum: LUA
Topic: Devicechanged script not triggered
Replies: 3
Views: 201

Re: Devicechanged script not triggered

Your nValues and sValues are the same. Have you tried to change the nValue to 1.

Code: Select all

commandArray['UpdateDevice'] = '290|1|10'
by HansieNL
Saturday 08 September 2018 12:24
Forum: General Discussion
Topic: After reboot of Raspberry, Domoticz reverts to previous stable
Replies: 3
Views: 133

Re: After reboot of Raspberry, Domoticz reverts to previous stable

Looks like a corrupted sd-card. Then the card become read-only and doesn't save new data.
by HansieNL
Friday 07 September 2018 22:08
Forum: Dashticz
Topic: Dashticz - General Discussions
Replies: 3462
Views: 278638

Re: Dashticz - General Discussions

@bierlaagh : CSS can be rather complex. It depends on what classes are used , what order and where they are in a CSS file. You also can have more then one CSS file. Cascading Order What style will be used when there is more than one style specified for an HTML element? Generally speaking we can say ...
by HansieNL
Friday 07 September 2018 20:16
Forum: Design, usability and languages
Topic: Dashticz
Replies: 2
Views: 216

Re: Dashticz

@remko2000 :
1. Only when you have PHP running and given write permission to the CONFIG.js settings are saved.
2. If you remove the comment lines you have to add your blocks, buttons, etc, to the CONFIG.js by hand.
3. A good starting point is the Wiki https://www.domoticz.com/wiki/Dashticz_V2
by HansieNL
Friday 07 September 2018 19:13
Forum: Dashticz
Topic: Dashticz - General Discussions
Replies: 3462
Views: 278638

Re: Dashticz - General Discussions

@amauryverschooren :

Code: Select all

blocks['news_2']['feed'] = 'https://cors-anywhere.herokuapp.com/http://feeds.feedburner.com/tweakers/nieuws';
TIP: Don't post personal keys on the forum config['wu_api'] =
by HansieNL
Friday 07 September 2018 18:30
Forum: Dashticz
Topic: Dashticz - General Discussions
Replies: 3462
Views: 278638

Re: Dashticz - General Discussions

@bierlaagh : Me too still have a lot to learn ;-)
You have to use the class shown in the developers tools. That's in your case buttons-weer.
So try: .buttons-weer
https://www.w3schools.com/ I think is a good place to start to learn HTML and CSS.
by HansieNL
Friday 07 September 2018 13:27
Forum: Dashticz
Topic: Dashticz - General Discussions
Replies: 3462
Views: 278638

Re: Dashticz - General Discussions

@bierlaagh :
You can set the class of a button with the key. For example:
buttons.hoofdmenu = {key: 'hoofdmenu', width:12, image: 'img/hoofdmenu_mirror.png', title: 'Hoofdmenu' ,slide:0 }
and then you the UNKNOWN should have the value buttons-hoofdmenu.
by HansieNL
Friday 07 September 2018 0:36
Forum: Dashticz
Topic: Dashticz - General Discussions
Replies: 3462
Views: 278638

Re: Dashticz - General Discussions

@bierlaagh : First you have to look up what the elements are for the buttons (You can use developers tools Ctrl-Shift-I and select elements in Chrome). Then you have to add extra code to custom.css. There are some examples at the Wiki https://www.domoticz.com/wiki/Dashticz_V2_-_CSS I use one to auto...
by HansieNL
Thursday 06 September 2018 23:28
Forum: Dashticz
Topic: Dashticz - Module - Garbage collector
Replies: 503
Views: 47830

Re: Dashticz - Module - Garbage collector

@amauryverschooren : These settings are working here with latest stable (master): config['garbage_company'] = 'ophaalkalender'; config['garbage_icalurl'] = ''; config['google_api_key'] = ''; config['garbage_calendar_id'] = ''; config['garbage_zipcode'] = '9150'; config['garbage_street'] = 'kerkstraa...
by HansieNL
Thursday 06 September 2018 22:27
Forum: Dashticz
Topic: Dashticz - Module - Garbage collector
Replies: 503
Views: 47830

Re: Dashticz - Module - Garbage collector

Hello Rob, i can't get my garbage list to work. I did eveything that was said in the forum but i won't work. can you have a look at my Config? regards Amaury Dear Amaury, Maybe you can post your config.js as code. You can do that by selecting </> Here you go. var config = {} config['language'] = 'n...
by HansieNL
Thursday 06 September 2018 21:55
Forum: Dashticz
Topic: Dashticz - Module - Garbage collector
Replies: 503
Views: 47830

Re: Dashticz - Module - Garbage collector

amauryverschooren wrote:
Thursday 06 September 2018 21:22
Hello Rob, i can't get my garbage list to work. I did eveything that was said in the forum but i won't work. can you have a look at my Config?
regards Amaury
Dear Amaury,
Maybe you can post your config.js as code. You can do that by selecting </>
by HansieNL
Sunday 02 September 2018 22:16
Forum: Design, usability and languages
Topic: Dashticz - Alternative Dashboard
Replies: 175
Views: 71686

Re: Dashticz - Alternative Dashboard

Installed Domoticz and Dashticz and I get the default page. My favorites from Domoticz are shown. When I remove the /* */ from the CONFIG.js the extra settings are shown, but the favorites from Domoticz disappear. How can both be shown? You have to add the blocks you want to use to your CONFIG.js. ...