[{"data":1,"prerenderedAt":165},["ShallowReactive",2],{"integration-node-red-contrib-bigtimer\u002F":3},{"_id":4,"categories":5,"author":8,"description":12,"npmOwners":13,"npmScope":15,"name":4,"ffCertified":16,"downloads":17,"version":19,"updatedAt":20,"maintainers":21,"homepage":23,"repository":24,"time":26,"lastUpdated":20,"created":27,"license":163,"readme":164},"node-red-contrib-bigtimer",[6,7],"catalogue_date-and-time","catalogue",{"name":9,"email":10,"url":11},"Peter Scargill","pete@scargill.org","https:\u002F\u002Ftech.scargill.net\u002Fbigtimer","The ultimate Node-Red Timer with dusk, dawn (and variations inc. sunrise, sunset, moonrise and moonset), months, days, manual override, schedule pause, random or fixed offsets, special days and much more. Using STOP now turns the output off.",[14],"scargill",null,false,{"week":18},4067,"2.8.6","2024-02-26T11:06:48.941Z",[22],{"name":14,"email":10},"https:\u002F\u002Ftech.scargill.net\u002Fbig-timer\u002F",{"private":25},true,{"modified":20,"created":27,"1.0.0":27,"1.0.1":28,"1.0.2":29,"1.0.3":30,"1.0.4":31,"1.0.5":32,"1.0.6":33,"1.0.7":34,"1.1.0":35,"1.1.3":36,"1.1.4":37,"1.2.0":38,"1.2.1":39,"1.2.2":40,"1.2.4":41,"1.2.5":42,"1.2.6":43,"1.2.7":44,"1.2.8":45,"1.2.82":46,"1.2.84":47,"1.2.85":48,"1.2.86":49,"1.2.87":50,"1.2.88":51,"1.2.89":52,"1.2.91":53,"1.2.92":54,"1.2.93":55,"1.2.94":56,"1.2.95":57,"1.2.96":58,"1.2.97":59,"1.2.98":60,"1.2.99":61,"1.3.0":62,"1.4.0":63,"1.4.1":64,"1.4.2":65,"1.4.3":66,"1.4.4":67,"1.4.5":68,"1.4.6":69,"1.4.7":70,"1.4.8":71,"1.4.81":72,"1.4.82":73,"1.4.83":74,"1.4.84":75,"1.4.85":76,"1.4.86":77,"1.4.87":78,"1.4.88":79,"1.4.89":80,"1.4.90":81,"1.5.0":82,"1.5.1":83,"1.5.2":84,"1.5.3":85,"1.5.4":86,"1.5.6":87,"1.5.7":88,"1.5.8":89,"1.5.9":90,"1.6.0":91,"1.6.1":92,"1.6.2":93,"1.6.3":94,"1.6.4":95,"1.6.5":96,"1.6.6":97,"1.6.7":98,"1.6.8":99,"1.7.1":100,"1.7.2":101,"1.7.3":102,"1.7.4":103,"1.7.5":104,"1.7.6":105,"1.7.7":106,"1.7.8":107,"1.7.9":108,"1.8.0":109,"1.8.1":110,"1.9.0":111,"1.9.1":112,"1.9.2":113,"2.0.0":114,"2.0.1":115,"2.0.2":116,"2.0.3":117,"2.0.4":118,"2.0.5":119,"2.0.6":120,"2.0.7":121,"2.0.8":122,"2.0.9":123,"2.1.0":124,"2.1.1":125,"2.1.3":126,"2.1.4":127,"2.1.5":128,"2.1.6":129,"2.1.7":130,"2.1.8":131,"2.1.9":132,"2.2.0":133,"2.2.1":134,"2.2.2":135,"2.2.3":136,"2.2.5":137,"2.2.6":138,"2.3.0":139,"2.3.1":140,"2.4.0":141,"2.5.0":142,"2.6.0":143,"2.6.1":144,"2.6.2":145,"2.6.3":146,"2.7.1":147,"2.7.2":148,"2.6.4":149,"2.7.3":150,"2.7.4":151,"2.7.5":152,"2.7.6":153,"2.7.7":154,"2.7.8":155,"2.8.0":156,"2.8.1":157,"2.8.2":158,"2.8.3":159,"2.8.4":160,"2.8.5":161,"2.8.6":162},"2015-11-01T14:04:46.806Z","2015-11-01T14:08:04.749Z","2015-11-01T14:12:57.226Z","2015-11-02T10:41:28.367Z","2015-11-02T18:15:33.974Z","2015-11-04T09:17:29.003Z","2015-11-06T09:07:09.726Z","2015-11-20T19:53:43.484Z","2016-01-12T08:56:58.605Z","2016-02-22T11:01:14.421Z","2016-05-01T17:13:36.866Z","2016-05-08T13:40:39.708Z","2016-05-08T21:09:58.433Z","2016-05-11T18:04:36.694Z","2016-05-31T13:17:14.618Z","2016-06-03T07:31:11.651Z","2016-06-11T15:46:13.238Z","2016-06-12T14:53:37.573Z","2016-06-13T11:37:12.062Z","2016-06-13T20:58:33.694Z","2016-06-13T22:20:10.652Z","2016-07-10T19:57:27.854Z","2016-07-10T20:11:55.917Z","2016-07-11T12:37:56.482Z","2016-07-11T13:27:49.162Z","2016-07-11T13:31:06.557Z","2016-07-11T20:45:22.586Z","2016-07-11T21:59:20.000Z","2016-07-11T22:14:33.778Z","2016-07-11T22:19:03.931Z","2016-07-20T10:28:55.185Z","2016-09-12T07:45:35.504Z","2016-10-30T21:40:27.644Z","2016-10-30T21:54:25.260Z","2016-10-30T21:56:15.947Z","2016-10-31T13:19:43.254Z","2016-11-01T11:33:34.610Z","2016-11-02T00:16:21.314Z","2016-11-07T05:42:13.353Z","2016-11-14T14:56:18.923Z","2016-11-14T15:00:07.031Z","2016-11-29T19:32:28.318Z","2016-11-30T11:51:59.359Z","2016-12-07T23:06:02.365Z","2016-12-10T12:34:54.026Z","2016-12-10T13:43:24.474Z","2016-12-10T18:44:13.121Z","2016-12-10T19:31:39.735Z","2016-12-16T09:47:02.939Z","2016-12-21T18:31:02.398Z","2016-12-27T19:59:15.548Z","2017-01-04T09:52:15.452Z","2017-01-06T06:30:42.193Z","2017-01-16T09:10:21.376Z","2017-01-21T08:49:22.438Z","2017-02-18T14:11:40.162Z","2017-02-24T17:04:44.665Z","2017-02-28T15:53:13.393Z","2017-02-28T16:19:15.271Z","2017-03-02T12:30:29.062Z","2017-03-06T09:09:13.024Z","2017-03-07T11:31:42.864Z","2017-05-11T13:30:06.626Z","2017-05-11T13:49:56.498Z","2017-05-11T14:00:05.757Z","2017-05-12T14:49:15.210Z","2017-05-12T15:20:38.056Z","2017-06-22T15:02:24.393Z","2017-07-01T08:34:52.575Z","2017-07-02T11:53:12.719Z","2017-07-02T12:07:30.809Z","2017-07-02T13:31:11.569Z","2017-07-11T18:52:56.419Z","2017-08-09T15:57:56.122Z","2017-08-19T10:38:39.062Z","2017-08-30T07:44:17.443Z","2017-08-30T17:22:35.723Z","2017-08-30T20:21:37.265Z","2017-09-08T05:32:12.208Z","2017-09-08T05:34:50.956Z","2017-11-01T10:29:12.507Z","2017-11-25T10:55:45.232Z","2017-12-06T08:27:20.247Z","2018-03-27T09:41:43.985Z","2018-04-15T08:42:08.431Z","2018-04-15T11:14:32.908Z","2018-04-16T08:26:30.709Z","2018-08-23T14:08:16.121Z","2018-08-29T11:56:31.439Z","2018-08-30T13:43:20.675Z","2018-11-01T19:08:28.790Z","2018-12-14T14:53:21.243Z","2018-12-15T11:52:47.723Z","2018-12-15T13:57:08.266Z","2018-12-16T13:14:15.302Z","2018-12-23T14:31:29.292Z","2019-01-19T10:59:51.489Z","2019-01-25T08:04:22.658Z","2019-01-26T13:35:56.137Z","2019-02-01T11:45:22.241Z","2019-02-03T19:45:56.094Z","2019-02-06T11:09:39.134Z","2019-02-11T09:35:47.537Z","2019-02-11T14:31:41.133Z","2019-02-17T08:32:58.715Z","2019-02-26T09:50:50.837Z","2019-06-14T12:36:23.750Z","2019-06-27T17:34:45.218Z","2019-06-29T15:47:58.092Z","2019-06-29T15:51:48.357Z","2019-08-15T15:00:13.669Z","2020-02-28T11:32:59.442Z","2020-03-25T22:32:01.487Z","2020-03-26T17:25:14.194Z","2020-08-20T20:37:14.434Z","2020-09-26T07:42:07.586Z","2020-10-06T12:59:08.246Z","2020-11-26T17:19:33.820Z","2020-11-27T20:27:28.399Z","2020-11-27T20:32:39.244Z","2020-12-15T18:25:57.573Z","2020-12-16T20:09:12.393Z","2020-12-25T17:17:54.173Z","2021-01-02T18:34:56.883Z","2021-04-17T19:57:04.279Z","2021-04-17T20:03:05.082Z","2021-12-14T13:38:58.872Z","2022-01-06T14:12:11.303Z","2022-01-06T14:19:26.725Z","2022-01-08T19:50:00.206Z","2022-01-09T21:02:15.696Z","2022-07-26T05:21:25.423Z","2022-09-06T15:50:08.913Z","2023-02-17T15:33:40.976Z","2023-02-17T15:39:19.254Z","2024-02-26T11:06:48.546Z","MIT","\u003Ch1 id=\"the-ultimate-timing-node-for-node-red\">\u003Ca class=\"header-anchor\" href=\"#the-ultimate-timing-node-for-node-red\">The ultimate Timing node for Node-Red\u003C\u002Fa>\u003C\u002Fh1>\n\u003Ch2 id=\"purpose\">\u003Ca class=\"header-anchor\" href=\"#purpose\">Purpose\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>\u003Cstrong>BigTimer\u003C\u002Fstrong> is the best Node-Red timing node offering a range of timing facilities. BigTimers can be used singly or in groups. Full support for dusk\u002Fsunset dawn\u002Fsunrise and variations also day\u002Fweek\u002Fmonth (and special days) control. The node offers outputs suitable for MQTT, speech and databases. You can also manually over-ride the UTC time setting on the host computer if required.\u003C\u002Fp>\n\u003Ch2 id=\"usage\">\u003Ca class=\"header-anchor\" href=\"#usage\">Usage\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>Suitable for general use and very powerful, BigTimer has 3 outputs, the first of which triggers when there is a change of state and presents one of two messages (for, for example, MQTT or other control mechanism), the second output has a topic of \"status\" and contains a simple 1 or 0 every minute in the payload and also has additional outputs reflecting the status message in msg.state and message time and others. The third output presents a message which could be used for speech or debugging.\u003C\u002Fp>\n\u003Ch2 id=\"inputs\">\u003Ca class=\"header-anchor\" href=\"#inputs\">Inputs\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>BigTimer also has an input. This can be used to override the schedule - valid commands in the payload are \"on\" (or 1), \"off\" (or 0) which override until the next change of automatic schedule state, \"manual\" which when used with \"on\" and \"off\" changes the state until the timeout times out (nominally 1440 minutes or 24 hours), \"default\" (or \"auto\") which scraps manual settings and goes back to auto, \"stop\" which stops the timer working completely (as does the \"suspend\" tickbox), without the affecting current outputs and \"sync\" which outputs the current state immediately without changing anything.\u003C\u002Fp>\n\u003Cp>The command list for manual injection is as follows:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>-sync                - simply force an output\n-on or 1             - turn the output on (reverts next schedule change)\n-off or 0            - turn the output off (reverts next schedule change)\n-toggle              - Manual toggle - no matter which mode (auto or manual) will toggle the output (see on and off)\n-default or auto     - return to auto state\n-manual              - When using (1\u002F0) to override output, this will stop reversion at schedule change)\n-stop                - stop the scheduler - set the output off\n-on_override         - manually override the on time (in minutes or hours and minutes - space separated i.e. inject \"on_override 20:00\" or just \"on_override\" to cancel)\n-off_override        - manually override the off time (in minutes or hours and minutes - space separated i.e. inject \"off_override 21:00\" or just \"off_override\" to cancel)\n-timer X [s m]       - Manual seconds timer sets the output on for X seconds (or minutes)\n-timeoff X (as above)\n-geo_override         - Example \"geo_override\" (no quotes) clears the longitude and latitude override and reverts back to those you set manually in BigTimer panel, whereas \"geo_override 37.7 -2.53\" sets a location in southern Spain - values from Google maps. \n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Use a just-after-startup INJECT node to insert values for example from a global variable.\u003C\u002Fp>\n\u003Cp>Note that \u003Cstrong>on_override\u003C\u002Fstrong> and \u003Cstrong>off_override\u003C\u002Fstrong> settings will be lost if Node-Red is stopped and restarted or if the board\u002Fcomputer is rebooted.\nCheck also \u003Cstrong>on_offset_override\u003C\u002Fstrong> and \u003Cstrong>off_offset_override\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Ch2 id=\"special-days\">\u003Ca class=\"header-anchor\" href=\"#special-days\">Special Days\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>These include special days (i.e. 25\u002F12) and special weekdays (i.e. first Tuesday of the month) and as of v2.0.0 these can be included or excluded.\nYou can if you wish (from v2.3.0 onwards) for example merely turn on BigTimer one day every month of the year by turning off ALL months and using any of the 12 special days.\nFor those occasions where \"alternative days\" are required there are checkbox options to BAN output on even and\u002For odd days of the month.\u003C\u002Fp>\n\u003Ch2 id=\"general\">\u003Ca class=\"header-anchor\" href=\"#general\">General\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>Note - if upgrading to a later version of BigTimer - check your settings. More information on BigTimer, my other nodes and a range of home-control-related projects can be found at \u003Ca href=\"https:\u002F\u002Ftech.scargill.net\">the tech blog\u003C\u002Fa>.\u003C\u002Fp>\n\u003Cp>January 10 2024 v 2.8.6 commented out 2 lines around line 1098 in bigtimer.js in response to seemingly sensible changes made by Ralf Mikulla - if this causes you problems, just uncomment them and restart node-red\u003C\u002Fp>\n\u003Cp>February 2023 v 2.8.5 fixed a silly with the July-December exclusion months.\u003C\u002Fp>\n\u003Cp>From v2.7.6 - Improved control of second timer on\u002Foff override\u003C\u002Fp>\n\u003Cp>From v2.0.7 - BigTimer output #1 features the following: (for example using GPIO12 on ESP8266 and ESP-GO - here we are in auto mode but have added a manual \"timer\" command for a short override)\u003C\u002Fp>\n\u003Cpre>\u003Ccode>-payload: {out12:1}\n-topic: sonoff4\u002Ftoesp\n-state: \"on\"\n-value: 1\n-autostate: 1\n-manualstate: 1\n-timeout: 1439\n-temporaryManual: 1\n-permanentManual:0\n-now: 669\n-timer: 600\n-duration:0\n-timer_left: 10\n-stamp: 1544959025262\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>The second BigTimer output (v1.55 onwards) now outputs a range of values every minute (in minutes past the beginning of the day) including sunrise and sunset.\u003C\u002Fp>\n\u003Cp>Example:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>-payload: 0\n-reference: \"sonoff02\u002Ftoesp:{out12:1}:{out12:0}:1287\"\n-topic: \"status\"\n-state: \"OFF Not-today\"\n-time: \"\"\n-timer: 0\n-name: \"Office Green Light Timer\"\n-start: 1395\n-end: 1425\n-dusk: 1108\n-dawn: 372\n-solarNoon: 740\n-sunrise: 407\n-sunset: 1073\n-night: 1190\n-nightEnd: 290\n-now: 1287\n-timer: 600\n-duration: 0\n-timer_left: 10\n-onOverride: -1\n-offOverride: -1\n-stamp: 1544959537232\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Time values above are in minutes past the beginning of the day.\u003C\u002Fp>\n\u003Cp>You can typically access these in a Node-Red function as msg.payload, msg.reference etc. See the \u003Ca href=\"https:\u002F\u002Ftech.scargill.net\u002Fbig-timer\">tech blog bigtimer entry\u003C\u002Fa> for more info.\u003C\u002Fp>\n\u003Cp>Typical use for the override - set the \u003Cstrong>on\u003C\u002Fstrong> time manually to 6:15pm i.e. \"on_override 18:15\" in msg.payload to the input simply use \u003Cstrong>on_override -1\u003C\u002Fstrong> to return to normal time settings - when in override the normal status dot below the node will turn into a ring.\u003C\u002Fp>\n",1784738655023]