Changes for page Home
Last modified by Richard Johnson on 2024/11/11 20:06
edited by Richard Johnson
on 2020/08/01 16:30
on 2020/08/01 16:30
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-distribution-flavor-common/10.6.1]
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki.ra j1 +xwiki:XWiki.superadmin - Content
-
... ... @@ -1,52 +1,47 @@ 1 -This wiki originally started as a simple discussion of IoT and home automation, but has expanded, so here are the different pages now: 1 +{{box cssClass="floatinginfobox"}} 2 +{{velocity}} 3 +{{html clean="false"}} 4 +## Chrome's XSS Auditor blocks the preview action if: 5 +## * the submitted content has an iframe with an external URL 6 +## * the preview action displays the submitted iframe 7 +## The workaround is to make sure the submitted content (the macro markers) don't match the preview HTML. 8 +## See XWIKI-14818: Preview triggers ERR_BLOCKED_BY_XSS_AUDITOR in Chrome 9 +#set ($iframe = 'iframe') 10 +<$iframe src="https://www.youtube.com/embed/9QTWrZ7OfzI" allowfullscreen></$iframe> 11 +{{/html}} 12 +{{/velocity}} 13 +{{/box}} 2 2 3 -* [[IoT / Home automation>>Home automation]] 4 -* [[Fitbit projects>>doc:.Fitbit Software.WebHome]] 5 -* [[Nightscout on Linux>>doc:Nightscout on Linux.WebHome]] 6 -* [[Lessons learned>>Lessons learned]] 15 += Welcome to your wiki = 7 7 8 -This wiki is intended to document my creation of my own automated home. It all took place over many, many, years, starting as far back as 1994. (Yes, I was doing Internet of Things long before most people had thought about it. It's true.) 9 -\\I'll approach this from a hierarchical viewpoint. 10 -\\At the top level, I have my "xten.html" web page. This invokes the "xt" script. This script standardizes the names of all items in the house and allows a simple "on" and "off" command line interface, regardless of whether you're controlling an X10 device, a Wink device, or even a Nest Thermostat. This allows one main web page to control everything in the house, regardless of what type of device it happens to be. Also, having one primary script which controls everything, allows for a simple, standard, interface which other scripts can utilize in order to accomplish those basic operations. 11 -\\The whole system is built upon a series of simple building blocks. (You don't have to build, or even design, the whole system from the outset. This system was built over, literally, decades. Just make sure that each part of the system does one basic operation in a standardized way, and does it in such a way that it can easily be utilized as a primitive operation in higher level functional units. This is the basis of the design of Unix, and allows for incremental improvements and additions over time. Just think, "building block", and don't get carried away with greater functionality. Then, be willing to rewrite as you go.) 12 -\\The "xt" script controls the following types of devices: 17 +XWiki is the best tool to organize your knowledge. A //wiki// is organized in a hierarchy of //pages//. You can create multiple wikis, each with its own set of pages. 13 13 14 -* X10 devices - via writing X10 commands to "ti103_fifo" (a unix named pipe interface to the "[[ti103>>ti103]]" program. 15 -* Wink devices - via invoking the "[[wink.pl>>wink.pl]]" PERL script, which talks REST to Wink's server. 16 -* Nest devices - via invoking the "[[nest_set.py>>nest_set.py]]" script, which talks REST to Nest's server. 17 -(I admit that currently this simple program only turns my thermostat on or off.) 19 +XWiki can be used as a knowledge base (support, documentation, sales, etc.), for collaborative workspaces or even as a complete intranet. 18 18 19 - (Ioriginally wrote the"nest" script in PERL also,but then wanted to learn Python,so I re-wroteit in Python. Together, the "wink" and "nest" scriptsserve as examples of how to do REST in both languages.)21 += The basics = 20 20 21 - (The "ti103" programis written in "C"and talks overa serial lineto the"TI103" device. Thisdevicetalksthe X10 protocoloverpowerlinesas well as listensto X10 commands invoked from elsewhere.)23 +To make the most out of your wiki, log-in and: 22 22 23 - Ihavea DavisWeatherStationon my roof.[[Here's theprogram>>url:https://github.com/rajid/davis_weather]] whichreadsfromthe console and storestheinformation intovariousfiles.25 +Use the {{velocity}}$services.icon.render('pencil'){{/velocity}} button above to //edit// this page and start customizing your wiki to your needs. 24 24 25 - If you havean iPhone,youcancontrolallof thisusingthe"homebridge"program. Just install"[[node>>https://nodejs.org/en/download/]]",theninstall"homebridge". Ialso installedthe followingother packages:27 +Use the {{velocity}}$services.icon.render('add'){{/velocity}} button above to //add// more pages to your wiki and create the //hierarchy// that best organizes your content. 26 26 29 +Use the {{velocity}}$services.icon.render('home'){{/velocity}} breadcrumbs located above the title to //navigate// inside your pages. It's easy to get lost in a big wiki without them. 27 27 28 - Commandsused:31 +You can also use the [[Sandbox>>Sandbox.WebHome]] for more demo content and generally a place to experiment with your wiki's features. 29 29 30 -**sudo npm install homebridge** 31 -**sudo npm install **[[**homebridge-gsh**>>https://www.npmjs.com/package/homebridge-gsh||style="background-color: rgb(34, 34, 34);"]] 32 - for integration with Google Home 33 -**sudo npm install homebridge-config-ui-x ** 34 - for configuring homebridge-gsh 35 -**sudo npm install homebridge-wink3 ** 36 - for integration with the Wink Hub 2 37 -**sudo npm install homebridge-cmdswitch2** 38 - along with "homebridge-readablehttp" for controlling arbitrary devices via a URL 39 -**sudo npm install homebridge-readablehttp** 40 - along with "homebridge-cmdswitch2" above 33 + {{box}}Learn more on how to use XWiki with the {{velocity}}[[Getting Started Guide>>http://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/GettingStarted/WebHome?version=$xwiki.version]]{{/velocity}}.{{/box}} 41 41 35 +|((( 36 += Extend your wiki = 42 42 43 - Once you have homebridgeworking,theninstallinghomebridge-gshallowsrol ofallhomebridgedevicesviaGoogleHome.38 +To extend the power and functionalities of your wiki with the features that //you// need, head over to the {{velocity}}[[Extension Manager>>path:$xwiki.getURL($services.model.createDocumentReference('wiki', 'XWiki', 'XWikiPreferences'), 'admin', 'editor=globaladmin§ion=XWiki.AddExtensions')]]{{/velocity}} where you can search for and install extensions. 44 44 40 +To browse through the 900+ community contributed extensions available for XWiki, head over to the [[Extensions Repository>>http://extensions.xwiki.org]]. 41 +)))|((( 42 += Create your application = 45 45 46 - Pleasefeelfree tocontactmewithquestionsaboutanyofthis.44 +Go beyond the available extensions and define the //structure// of your data based on //your// needs, creating //your// own applications with [[App Within Minutes>>AppWithinMinutes]] (AWM). 47 47 48 -(I'll be adding more and more to this description in the future. Sorry, but this documentation effort is just starting.) 49 - 50 -/raj 51 - 52 - 46 +AWM will take care of making it easy for you and your users to create and manage the data. 47 +)))