User Tools

Site Tools


changes_features_fixes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
changes_features_fixes [2014/04/25 22:01]
creamers
changes_features_fixes [2015/11/27 22:09] (current)
Line 1: Line 1:
 ====== Upcoming Changes, Features and Fixes ====== ====== Upcoming Changes, Features and Fixes ======
  
-  
-  * [[https://​github.com/​pilight/​pilight/​commit/​d595adb18386b857b42a76de7d8fcecae4acb667|pilight version 4.0]] 
- 
-**Features** 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​66d021e85fddc1e4f1e0cb3d1f8e2325bd87abc6|Added Old REV switches support]] 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​86324d321724616f4c181d240364ad2d0104d9d4|Added the Quiqq protocol]] 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​7e27dbf877b75779d3a4c566cba93e1e98dcfc9e|Added generic webcam protocol]] 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​1dc9955b52749519151dbabf85dcc5ad4d74af1f|Added the elro AD protocol]] 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​17c82e271e52649ac40a2b271df86aea3d0a2070|Added XBMC and LIRC API support]] [[https://​github.com/​pilight/​pilight/​commit/​3cf4ba461ec158b0f4bb6d02fe2d49f55449a310|Also added XBMC webgui support]] 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​a4cedf954fd48733133d10dbde89bbeb59a751f0|Added update button for website API protocols]] 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​82ec815c6794b13399a8440c914f9b703b525c05|Added a finished X10 protocol]] 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​1bc953c800686c5c73b898fb9c55814c6fae6ff1|pilight can know automatically update the firmware of the upcoming filter]]->​[[http://​forum.pilight.org/​Thread-NL-Only-Low-pass-filter-parts|click]] 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​53a8b13db14810ac310bde9022fad77b891ae11c|Added a Date Time Protocol.]] 
-<​code>​ 
-"​datetime":​ { 
-            "​name":​ "Datum en Tijd", 
-            "​protocol":​ [ "​datetime"​ ], 
-            "​id":​ [{ 
-                "​longitude":​ "​53.XXXXXXXXXX",​ 
-                "​latitude":​ "​5.XXXXXXXXXX"​ 
-            }], 
-            "​year":​ 2014, 
-            "​month":​ 3, 
-            "​day":​ 26, 
-            "​hour":​ 23, 
-            "​minute":​ 10, 
-            "​second":​ 36 
-        } 
- 
-</​code>​ 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​c731c29d26e4bc20ce452edb11d23defcdc7a439|Added the program switching protocol]] 
-A protocol to execute a shell command! 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​1d98b0f6e82b1046cdbfdb9034dd2952fe00d824|Added the Sunrise / Sunset protocol]] 
- 
-**Changes** 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​04bcf744e597b169c5753853accc3c605766b124|Implemented arctech_switch all support in webgui]] 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​ad927417181c1d9d06b3f9a6bd63755df9dc9f7b|Added protocol option to disable multiple ID support]] 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​6e31aa67f2805c026858d099d8515bd1e6c25769|Allow 433gpio pins to be disabled by setting them to -1.]] 
-Setting ​ "​sender":​ or "​receiver":​ to -1 disables a pin. 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​44cb4b7932d0f56a85fdffc2d45499e849787385|Added sunrise / sunset support to wunderground and openweathermaps APIs]] 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​2c06b9692bfe93057c2084af57504a0097fad263|New webserver authentication and user]] 
-1. This commit changes the webserver-username,​ webserver-password 
-and the webserver-authentication to a single 
-webserver-authentication setting. Instead of enabling the 
-webserver authentication by setting the webserver-authentication 
-setting to one, and then seperately defining the username 
-and password for authentication,​ the webserver-username and 
-webserver-password have been merged into the 
-webserver-authentication setting. This means you now enable 
-the webserver authentication as follows: 
- 
-"​webserver-authentication":​ [ "​username",​ "​password"​ ] 
- 
-2. Before this commit, all PHP scripts were ran with root 
-privileges. Of course, this is a great security risk. This 
-commit changes the user the webserver runs at to www-data. 
-A new setting has been introduced to be able to change 
-this user: 
- 
-"​webserver-user":​ "​www-data"​ 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​2c06b9692bfe93057c2084af57504a0097fad263|support for the ATTiny25]] 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​aa0aee297b94d870ec63c87dcad2f1053ec4a1d2|Improved pilight uuid generation]] 
-Previously, pilight generated the UUID by using the mac address of 
-(one of) the wired network adapters. Almost all mainboards have at 
-least of one such network adapters present, except the Raspberry 
-Pi model A. So we need a different method to generate a fixed 
-unique ID for all pilight instances. 
- 
-This new code will use the Rasbperry Pi's serial number retrieved 
-from /​proc/​cpuinfo so we can also generate a UUID on model A 
-boards. It will also dynamically retrieve network adapters and use 
-one of them to build a UUID based on its mac address. 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​9143536f55febd81382c62e78eb60bc73e1d4296|Greatly improved device specific settings support]] 
-The old device specific settings were difficult to understand and 
-not very clear in their naming. This commit drops the settings 
-object you had to add to each device to change it's settings. 
-Instead, all device specific settings are now just parameters just 
-like the device it's own parameters. 
- 
-Old situation: 
-<​code>​ 
-"​rpi":​ { 
- "​name":​ "Rasp. Temp.",​ 
- "​protocol":​ [ "​rpi_temp"​ ], 
- "​id":​ [{ 
- "​id":​ 1 
- }], 
- "​temperature":​ 43312, 
- "​settings":​ { 
- "​interval":​ 10 
- } 
-} 
-</​code>​ 
-New situation: 
-<​code>​ 
-"​rpi":​ { 
- "​name":​ "Rasp. Temp.",​ 
- "​protocol":​ [ "​rpi_temp"​ ], 
- "​id":​ [{ 
- "​id":​ 1 
- }], 
- "​temperature":​ 43312, 
- "​poll-interval":​ 10, 
- "​gui-decimals":​ 2 
-} 
-</​code>​ 
-The following new settings are supported: 
- 
-Weather Stations / Sensors 
- 
-  * device-decimals 
-  * device-temperature-offset 
-  * device-humidity-offset 
-  * poll-interval 
-  * gui-decimals 
-  * gui-show-temperature 
-  * gui-show-humidity 
-  * gui-show-battery 
- 
-Contacts / Switches / Dimmers / Screens 
- 
-  * gui-readonly 
- 
-Dimmers 
- 
-  * dimlevel-maximum 
-  * dimlevel-minimum 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​fd434442b04509b3f0680ef418c1dd09493b693d|Added the developmental version to the API config:]] 
-New features of pilight can break existing apps and plugins. 
-By introducing the developmental version string in the 
-version array, apps developers can implement support for 
-each of these versions, or let users know a newer version 
-is not yet supported. 
-  * [[https://​github.com/​pilight/​pilight/​commit/​6661aef80c4c8b59b911e5eee9d59f70feeb4262|After a big valgrind memory check, the following changes were made:]] 
- 
-1) All memory leaks when running the main daemon are fixed. 
- 
-2) Made all threaded functions platform independent. 
- 
-3) Nearly all threads will now gracefully close instead of 
-being forced to. To allow this, some changes were made: 
-- The socket select function needed to be woken up so it 
-stopped blocking the execution of a thread. To allow 
-this, several loopback connection were made to send 
-a single bit to the socket connection when a specific library 
-is garbage collecting. 
-- All mutexes are unlocked and thread conditions are signaled 
-to continue execution. 
- 
-4) Some thread helper functions have been added to the protocol 
-library. This makes protocol writing easier. It also 
-allows threads to gracefully stop like described in point 3. 
- 
-5) A special garbage collector function was added to the protocol 
-library. When the protocols are freed the protocol specific "​gc"​ 
-function is called first. This allows protocols to free their local 
-resources first. This function will only be called when it's 
-initialized. 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​21bb41b89f99e8580b449ccbf6a438337d6ec94d|Added three channel weather protocol (thanks to @mel0en)]] ->​[[http://​wiki.pilight.org/​doku.php/​threechan|Click]] 
- 
-  * [[https://​github.com/​pilight/​pilight/​commit/​32a71e18102c6e89ccc47de14ef92fa4381630fc|Added webserver php support through php-cgi]] 
-Install php to use this new change.(apt-get install php5-cgi) 
-   
-  * [[https://​github.com/​pilight/​pilight/​commit/​e56a89592c22fe41a96c9d02ac3b5f3bd9741d02|Big rewrites after pilight 3.0]] 
-   
-Rewrote socket library so we don't need to use the normal and big buffer sizes. pilight can know handle socket messages of any size. Please notice that this commit will break all externally developed apps. Please check the various language examples to. see how the new implementation works. 
- 
-Until pilight 2.1 two fixed socket buffers were used. One with the size of 1024 bytes and one with the size of 102400 bytes. This distinction has been dropped. ​ 
- 
-pilight will now send all streams in 1024 chunks. If these streams are shorter than 1024, everything was sent at once. If a stream is 1024 bytes, then you'll know it's a chunk of a bigger stream. In that case, read until you encounter the end of streams delimiter which is currently made up of two new lines ''​\n\n''​. ​ 
- 
-If multiple streams were buffered somewhere, you can also distinct them by the double new line delimiters. An example: 
-<​code>​ 
-{"​message":​ "​test"​}\n\n 
-{"​message":​ "​test"​}\n\n 
-{"​message":​ "​test"​}\n\n 
-</​code>​ 
- 
-As you can see. pilight wanted to send three messages, but the TCP sockets concencated them to one. 
- 
-The pilight socket_read function takes care of these buffered messages to check if we encountered concencated multiple streams. pilight will then convert these messages back so the output is just big stream separated by single newlines: 
-<​code>​ 
-{"​message":​ "​test"​}\n 
-{"​message":​ "​test"​}\n 
-{"​message":​ "​test"​}\n 
-</​code>​ 
- 
-You can check the various code example for more clarity. 
- 
- 
-**Fixes & improvements** 
-  * [[https://​github.com/​pilight/​pilight/​commit/​2441e5a97b4d3cdca81e7ce9ffad859bf373a71b|Let pilight work the JSON double instead of integer]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​255e4740c89bec1860a422217fd2a300a858a0fb|Added binary helper functions for 32 bit numbers]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​2099615de66483e40595303bc1e83ba6e59b9cd4|Fixed small bug in hardware library]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​f636b09cd6a2d912d76256e91674e61999a2fc71|Updated icons in webgui and install some binaries to bin not sbin]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​837c3ef25453c7573f0ad59a8543d1b1bee36269|Centralized common functions and finished sunriseset protocol]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​23cee908203a9a93d2c2bb0195b8fb68d0fc1703|Fixed bug in which additional protocol threads where started on each node reconnection]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​e6324c250a0359f9629a0ceca755d0addb79c665|Fixed bug in ssdp uuid generator]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​c4ed3e896831f9f838beac14f9956db4f21c6d2e|Fixed the arctech all function]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​4708b3628e707cee92000bd6358a0670426728dd|Fixed bug in the relay and rev protocol]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​96ccace94a0438006fa75db69ce6d6b973a1b42b|Fixed the node feature again]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​c0e7736d75f57b0eba7171051cb49ea9f1161736|Fixed small bug in socket library]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​09c176f4850f73f81af3cc06cb5add0358056b4b|Only allow alphanumeric characters as location and device id's]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​83435c4b8f33ae962e16014ca51133f617ac73f1|Fixed wrongly uploaded mumbi version]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​2f9edef538231995272e78a3694b80bd0da98cb1|Exchanged libwebsockets for mongoose]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​6f90c19e2f38e1f7410e93a37718961140430236|Restored ssdp version and updated CMakeLists.txt]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​284991e0b866e8fd5c0177a83b8d9c553c79872e|Fixed small bug in webserver]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​eccaab87fe84c98a9d19d86599569a5f9cd0263c|Fixed bug in 433gpio hardware module]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​97abebbc5dd4f3100c7ded9717cff0ffc0ec0bb9|Remove NULL characters from buffer streams]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​55b639b2cb73f388a90e88a6df090cf42f31346b|Fixed some bugs in the webserver]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​0a19aa91ee891abfc392643227dfa6581c7f4c0f|Fixed the redirect webpage]] 
-  * [[https://​github.com/​pilight/​pilight/​commit/​b69bf8b73e959911b9dbf29d04221d9c17ef2b37|Bugfix for threechan protocol]] 
changes_features_fixes.txt ยท Last modified: 2015/11/27 22:09 (external edit)