Hi,
I'm new at OpenHab and I want to use it in the future to connect to my bTicino MyHome-installation (OpenWebNet-protocol).
For now I'm able to use HTTP-request to a webserver that sends the OpenWebNet-commands.
I know there is not yet a binding available for OpenWebNet, so at this time I'm playing with the features already available at OpenHab.
I'm using OpenHab 1.0.0 and I'm starting with the demo.cfg.
I'm having troubles setting up/using Gcal-binding.
My config for Gcal-binding looks like:
########################## Google Calendar configuration ##############################
# the username and password for Google Calendar Account
gcal:username='*************@gmail.com'
gcal:password='*********'
# the url of the calendar feed
gcal:url='https://www.google.com/calendar/feeds/************group.calendar.google.com/private-**********/full'
# refresh interval in milliseconds (optional, defaults to 900000 [15 minutes])
gcal:refresh=60000 #testing with Gcal : refresh every minute
# the offset (in days) new calendar entries will be created in future (optional,
# defaults to 14)
#gcal:offset=
# the base script which is written to the newly created Calendar-Events by
# the GCal-based presence simulation. It must contain two format markers '%s'.
# The first marker represents the Item to send the command to and the second
# represents the State (optional, defaults to
# '> if (PresenceSimulation.state == ON) sendCommand(%s,%s)')
#gcal:executescript=
I didn't know if the strings must be between ' or " so I tried both, but I don't get to activate a Light using my Gcal.
Is there something wrong with my setup?
Can I see in the logging (or any other way) that the Gcal-binding is started?
To make a binding for OpenWebNet I need to have socket-communication over TCP/IP. What binding do you recommend to start working on?
As far as I noticed, documentation for binding is "inline comments"?
Kind regards,
Gino
--
You received this message because you are subscribed to the Google Groups "openhab" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openhab/-/zSn7J05ldbsJ.
To post to this group, send email to ope...@googlegroups.com.
To unsubscribe from this group, send email to openhab+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openhab?hl=en.
I didn't know if the strings must be between ' or " so I tried both, but I don't get to activate a Light using my Gcal.
Can I see in the logging (or any other way) that the Gcal-binding is started?
As far as I noticed, documentation for binding is "inline comments"?
Hi Thomas,
I don't see any line in the logging about Google Calendar ("Google Calendar IO has been started.").
I added the line "<logger name="org.openhab.io.gcal" level="DEBUG" />" to logback.xml.
I did restart the OpenHAB server but still no line "Google Calendar IO has been started".
I attached my log back xml-files, my openhab.cfg and the openhab.log;.
What am I doing wrong?
Kind regards,
Gino
Thanks for your help.
My Gcal url format looks different from yours, i got it by following the instructions copying the xml link:
Are you saying that the Gcal binding is not working on Openhab 1.0.0? Is nobody else currently using it successfully?
No I am not familiar with Eclipse.
Thanks for any help, it would be nice to have the Gcal binding working.
14:16:09.076 DEBUG o.o.i.g.internal.GCalActivator[:54]- Google Calendar IO has been started.
14:16:09.143 DEBUG o.o.i.g.i.p.GCalPresenceSimulation[:161]- Scheduled Google Calendar Upload-Job with interval '10'
start {
send("mic...@email.de", "Start")
}
end {
send("mic...@email.de", "Stop")
}
Hi Thomas, I use XMPP intensively as test output console and it works... except from gcal.
Michael
--
--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/XOnvbuFJYT8/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
I am still unable to get gcal to work either. I also am not sure on how to debug it.
I have the following configuration:
# the username and password for Google Calendar Account
gcal:username=(my google e-mail)@gmail.com
gcal:password=(my password)
# the url of the calendar feed
# refresh interval in milliseconds (optional, defaults to 900000 [15 minutes])
gcal:refresh=90000
- I am running start_debug.bat but I am not getting any log on 'gcal' nor 'Google' nor 'Calendar'. I do not know how to edit the logback.xml file(s)? to increase loglevel.
- If I open the given url in a browser I get a lot of html text with my feeds embedded several times
- my url for the calendar feed looks quite different to Thomas' url
Any suggestions? I tried to play with the url, removing the text between private and /full but to no avail.
I really would like to get Gcal to work, it is the last main functionality that is missing in my Openhab system!
--
Angel, pardon my ignorance, but how do I open an osgi command prompt?
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
I am not on Linux (nor am I versed on Linux), I am on Windows. Is there a way to test the workaround for me?
let's hope it is not too hard to fix permanently.
--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
My mistake, I had a copy/paste error in one of my events, resulting in switching off items without that I knew it. I have now about a dozen gCal events per day switching on and off without issues.
FYI, I created a second Google Calendar (not linked to openhab) to store events that are temporarily disabled (call it "Openhab disabled). This way you can disable certain (e.g. seasonal) events by just moving to the disabled calendar but not loose any details (times, conditions etc). If you choose a lighter color, and display both calendars in your calendar viewer, you get a nice overview of all your events, enabled and disabled.
--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/XOnvbuFJYT8/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.