Questions tagged [openhab]

openHAB aims at providing a universal integration platform for all things around home automation. It is a pure Java solution, fully based on OSGi. This software is completely vendor and hardware agnostic and runs on all devices with JDK.

openHAB aims at providing a universal integration platform for all things around home automation. It is a pure Java solution, fully based on OSGi. This software is completely vendor and hardware agnostic and runs on all devices with JDK.

96 questions
0
votes
1 answer

How to write an openHAB rule which increments a number?

I want to write a Rule in openHAB2, which increments a counter of all group items. The items: Group counters Number cnt1 (counters) Number cnt2 (counters) My try of a rule: rule "Increase value .1 per minute" when Time cron "0 * * * * ?" or …
sja
  • 2,064
  • 2
  • 18
  • 22
0
votes
1 answer

How to use Java timer to abandon all tasks done in quick succession except last

If I have not explained this properly please help me to correct my question. My question may be related to Java timer, or it may be related to general problem solving. Dear reader, you don't need to understand what OpenHAB is, what an OpenHAB rule…
hazymat
  • 404
  • 1
  • 6
  • 20
-1
votes
1 answer

Understand shell script

openssl pkcs12 -export -in caseta.crt -inkey caseta.key -out caseta.p12 -name caseta keytool -importkeystore -destkeystore lutron.keystore -srckeystore caseta.p12 -srcstoretype PKCS12 -srcstorepass secret -alias caseta keytool -importcert -file…
-1
votes
1 answer

Database / MySQL - Calculate Energy Consumption for given table

i would like to calculate the sum of the energy consumption from this openhab persistence table, which contains the rows for current energy consumption of my lamps: +---------------------+--------+ | time | value …
Patric
  • 43
  • 9
-1
votes
1 answer

openHAB two Strings to DateTime

I have two String variables (one has date and other has time), how can I create DateTime from these two String variables ? The purpose to use PlusMintues PlusDay ... Can you help me please ?
Ahmad Z. Tibi
  • 419
  • 2
  • 8
  • 19
-1
votes
1 answer

How to find out which port number a process is using and the process using a specific port number

I'm beginner with openhab, after launching the server /etc/init.d/openhab2 start i got that [ ok ] Starting openhab2 (via systemctl): openhab2.service, but I still have no access to the platform via http://localhost:8080/ I want to know : which…
1 2 3 4 5 6
7