author
int64
658
755k
date
stringdate
2012-06-12 08:34:29
2024-07-22 14:51:21
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
listlengths
1
16
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
89,734
19.06.2019 15:37:16
-7,200
9eb81be5cee9decf100435d42065c9e74d5871e4
fix: normalize the reference intervals Differential FVA was only normalizing the grid point flux ranges but not the reference state. That means they were essentially in different dimensions when computing the gaps between intervals.
[ { "change_type": "MODIFY", "old_path": "cameo/strain_design/deterministic/flux_variability_based.py", "new_path": "cameo/strain_design/deterministic/flux_variability_based.py", "diff": "@@ -322,6 +322,17 @@ class DifferentialFVA(StrainDesignMethod):\nsolutions = dict((tuple(point.iteritems()), fva_r...
Python
Apache License 2.0
biosustain/cameo
fix: normalize the reference intervals Differential FVA was only normalizing the grid point flux ranges but not the reference state. That means they were essentially in different dimensions when computing the gaps between intervals.
89,734
19.06.2019 15:39:52
-7,200
a5afbec803125aaca23d37a824f7776e4f35db42
fix: use absolute values for normalization
[ { "change_type": "MODIFY", "old_path": "cameo/strain_design/deterministic/flux_variability_based.py", "new_path": "cameo/strain_design/deterministic/flux_variability_based.py", "diff": "@@ -323,7 +323,13 @@ class DifferentialFVA(StrainDesignMethod):\nsolutions = dict((tuple(point.iteritems()), fva_r...
Python
Apache License 2.0
biosustain/cameo
fix: use absolute values for normalization
89,734
19.06.2019 15:43:40
-7,200
b34dd4bed3a0cd7876f6b65e370499f20b3fc5ca
fix: exclude more than one variable
[ { "change_type": "MODIFY", "old_path": "cameo/strain_design/deterministic/flux_variability_based.py", "new_path": "cameo/strain_design/deterministic/flux_variability_based.py", "diff": "@@ -182,6 +182,14 @@ class DifferentialFVA(StrainDesignMethod):\nself.variables.append(variable.id)\nelse:\nself.v...
Python
Apache License 2.0
biosustain/cameo
fix: exclude more than one variable
89,734
19.06.2019 16:08:45
-7,200
b3cf457d9a85b0ddc0aaefd241b2930d2c84c89e
fix: correct the conditions for suddenly essential
[ { "change_type": "MODIFY", "old_path": "cameo/strain_design/deterministic/flux_variability_based.py", "new_path": "cameo/strain_design/deterministic/flux_variability_based.py", "diff": "@@ -371,6 +371,11 @@ class DifferentialFVA(StrainDesignMethod):\nref_lower_bound = self.reference_flux_ranges.lowe...
Python
Apache License 2.0
biosustain/cameo
fix: correct the conditions for suddenly essential
89,734
19.06.2019 19:28:36
-7,200
390310d08b06d57383399975e55e953476d375f3
fix: change included reactions
[ { "change_type": "MODIFY", "old_path": "cameo/strain_design/deterministic/flux_variability_based.py", "new_path": "cameo/strain_design/deterministic/flux_variability_based.py", "diff": "@@ -224,6 +224,15 @@ class DifferentialFVA(StrainDesignMethod):\nelse:\nself.normalize_ranges_by = normalize_range...
Python
Apache License 2.0
biosustain/cameo
fix: change included reactions
89,734
19.06.2019 19:29:14
-7,200
8636525c58f59cde1fbf634fc10c04fbf9d0ea83
fix: use correct data structures
[ { "change_type": "MODIFY", "old_path": "cameo/strain_design/deterministic/flux_variability_based.py", "new_path": "cameo/strain_design/deterministic/flux_variability_based.py", "diff": "@@ -353,10 +353,10 @@ class DifferentialFVA(StrainDesignMethod):\n# the model is defined differently or some other...
Python
Apache License 2.0
biosustain/cameo
fix: use correct data structures
89,734
19.06.2019 20:31:52
-7,200
170471cc56ae3822632348518b091d4f1215c9ef
fix: special case when norm is None
[ { "change_type": "MODIFY", "old_path": "cameo/strain_design/deterministic/flux_variability_based.py", "new_path": "cameo/strain_design/deterministic/flux_variability_based.py", "diff": "@@ -231,6 +231,7 @@ class DifferentialFVA(StrainDesignMethod):\n# Re-introduce key reactions in case they were exc...
Python
Apache License 2.0
biosustain/cameo
fix: special case when norm is None
89,734
24.06.2019 10:55:21
-7,200
338a734f70da08b0899ca6acc70223c48fcf6a43
fix: return copy of panel
[ { "change_type": "MODIFY", "old_path": "cameo/strain_design/deterministic/flux_variability_based.py", "new_path": "cameo/strain_design/deterministic/flux_variability_based.py", "diff": "@@ -605,7 +605,7 @@ class DifferentialFVAResult(StrainDesignMethodResult):\n\"\"\"\ngrouped = self.solutions.group...
Python
Apache License 2.0
biosustain/cameo
fix: return copy of panel
89,734
24.06.2019 12:26:35
-7,200
bf0a1f1b47bdef11b696cbed5efcff0c194b6b80
fix: align intervals The reference flux ranges were unaligned with the point solutions. Thus gaps were calculated over the wrong intervals.
[ { "change_type": "MODIFY", "old_path": "cameo/strain_design/deterministic/flux_variability_based.py", "new_path": "cameo/strain_design/deterministic/flux_variability_based.py", "diff": "@@ -233,6 +233,7 @@ class DifferentialFVA(StrainDesignMethod):\nself.included_reactions.add(self.objective)\nif se...
Python
Apache License 2.0
biosustain/cameo
fix: align intervals The reference flux ranges were unaligned with the point solutions. Thus gaps were calculated over the wrong intervals.
89,734
24.06.2019 12:53:37
-7,200
331adc12f1578058657ca5ea66f213e875e38b3a
chore: change default fraction to 1.0
[ { "change_type": "MODIFY", "old_path": "cameo/strain_design/deterministic/flux_variability_based.py", "new_path": "cameo/strain_design/deterministic/flux_variability_based.py", "diff": "@@ -286,7 +286,7 @@ class DifferentialFVA(StrainDesignMethod):\nself.grid = DataFrame(grid, columns=columns)\ndef ...
Python
Apache License 2.0
biosustain/cameo
chore: change default fraction to 1.0
89,734
24.06.2019 13:03:17
-7,200
313406d1741407c9980854a5803f05ed0f52c5a3
fix: do not constrain objective Fixing the objective is automatically done by FVA. It is thus not necessary here.
[ { "change_type": "MODIFY", "old_path": "cameo/strain_design/deterministic/flux_variability_based.py", "new_path": "cameo/strain_design/deterministic/flux_variability_based.py", "diff": "@@ -143,7 +143,6 @@ class DifferentialFVA(StrainDesignMethod):\nself.design_space_nullspace = nullspace(create_sto...
Python
Apache License 2.0
biosustain/cameo
fix: do not constrain objective Fixing the objective is automatically done by FVA. It is thus not necessary here.
89,734
24.06.2019 14:22:18
-7,200
8e5396a9a6d7060b0f38881709a4cff3e5661a33
chore: update test data generation script
[ { "change_type": "MODIFY", "old_path": "tests/data/REFERENCE_DiffFVA1.csv", "new_path": "tests/data/REFERENCE_DiffFVA1.csv", "diff": "-,upper_bound,lower_bound,gaps,normalized_gaps,KO,flux_reversal,suddenly_essential,free_flux,excluded\n-ACALD,0.0,0.0,0.0,0.0,False,False,False,False,False\n-ACALDt,0...
Python
Apache License 2.0
biosustain/cameo
chore: update test data generation script
89,734
24.06.2019 14:22:51
-7,200
d69038b5cc2feebff9b220c1537a16c9dc4c5aa1
tests: fix differential FVA comparison
[ { "change_type": "MODIFY", "old_path": "tests/conftest.py", "new_path": "tests/conftest.py", "diff": "@@ -19,7 +19,9 @@ def data_directory():\n@pytest.fixture(scope='session')\ndef model(data_directory):\n- return load_model(join(data_directory, 'EcoliCore.xml'))\n+ m = load_model(join(data_director...
Python
Apache License 2.0
biosustain/cameo
tests: fix differential FVA comparison
89,734
25.06.2019 11:16:35
-7,200
eec6d4f9173c6db98d7616023a1baa9730c50507
tests: catch the right error `Infeasible` is the logical one but cobrapy only raises a general `OptimizationError`.
[ { "change_type": "MODIFY", "old_path": "tests/test_strain_design_deterministic.py", "new_path": "tests/test_strain_design_deterministic.py", "diff": "@@ -21,10 +21,9 @@ import pytest\nfrom pandas import DataFrame\nfrom pandas.util.testing import assert_frame_equal\n-from cobra.exceptions import Infe...
Python
Apache License 2.0
biosustain/cameo
tests: catch the right error `Infeasible` is the logical one but cobrapy only raises a general `OptimizationError`.
89,734
25.06.2019 15:00:06
-7,200
35e2e028f539395cdbd9aa7ead831d7887a59f06
fix: set all solution within threshold to zero
[ { "change_type": "MODIFY", "old_path": "cameo/strain_design/deterministic/flux_variability_based.py", "new_path": "cameo/strain_design/deterministic/flux_variability_based.py", "diff": "@@ -322,6 +322,9 @@ class DifferentialFVA(StrainDesignMethod):\nremove_cycles=False,\nfraction_of_optimum=fraction...
Python
Apache License 2.0
biosustain/cameo
fix: set all solution within threshold to zero
89,734
25.06.2019 15:03:15
-7,200
b2fecb76742352071eb2194bd210f22cf0806f8c
refactor: change knock-out condition to use overlap
[ { "change_type": "MODIFY", "old_path": "cameo/strain_design/deterministic/flux_variability_based.py", "new_path": "cameo/strain_design/deterministic/flux_variability_based.py", "diff": "@@ -427,8 +427,8 @@ class DifferentialFVA(StrainDesignMethod):\ndf.loc[\n(df.lower_bound == 0) & (\ndf.upper_bound...
Python
Apache License 2.0
biosustain/cameo
refactor: change knock-out condition to use overlap
89,734
25.06.2019 16:17:46
-7,200
b969996ae4c431a133d6023cbbd29324fa68d2e3
chore: re-generate data
[ { "change_type": "MODIFY", "old_path": "tests/data/REFERENCE_DiffFVA1.csv", "new_path": "tests/data/REFERENCE_DiffFVA1.csv", "diff": ",lower_bound,upper_bound,gaps,normalized_gaps,biomass,production,KO,flux_reversal,suddenly_essential,free_flux,reaction,excluded\n-ACALD,0.000,0.000,0.000,0.000,0.000...
Python
Apache License 2.0
biosustain/cameo
chore: re-generate data
89,734
26.06.2019 20:40:07
-7,200
0b114260c05628c8b7d6ac0b200b9f015ee6187d
fix: upgrade groupby
[ { "change_type": "MODIFY", "old_path": "cameo/strain_design/deterministic/flux_variability_based.py", "new_path": "cameo/strain_design/deterministic/flux_variability_based.py", "diff": "@@ -480,6 +480,9 @@ class DifferentialFVAResult(StrainDesignMethodResult):\nself.reference_fva = reference_fva\nse...
Python
Apache License 2.0
biosustain/cameo
fix: upgrade groupby
89,734
27.06.2019 12:30:51
-7,200
9fe4646ac6cf8305c1d4d80302a8dfae4eff8aa7
fix: change target generation
[ { "change_type": "MODIFY", "old_path": "cameo/core/target.py", "new_path": "cameo/core/target.py", "diff": "@@ -96,13 +96,26 @@ class FluxModulationTarget(Target):\n\"\"\"\n__gnomic_feature_type__ = 'flux'\n- def __init__(self, id, value, reference_value, *args, **kwargs):\n- super(FluxModulationTar...
Python
Apache License 2.0
biosustain/cameo
fix: change target generation
89,734
03.07.2019 12:30:30
-7,200
24c05f17617b539a86b4bc0d467f6e2f3299e92c
fix: ignore conflicting targets
[ { "change_type": "MODIFY", "old_path": "cameo/strain_design/deterministic/flux_variability_based.py", "new_path": "cameo/strain_design/deterministic/flux_variability_based.py", "diff": "@@ -589,6 +589,12 @@ class DifferentialFVAResult(StrainDesignMethodResult):\nref_lower = reference_fva.at[rid, 'lo...
Python
Apache License 2.0
biosustain/cameo
fix: ignore conflicting targets
89,738
02.11.2020 21:58:30
-3,600
955c399b38025954c8e69ae900c851840febbe74
chore: remove bokeh and ggplot from general plotting
[ { "change_type": "DELETE", "old_path": "cameo/visualization/plotting/with_bokeh.py", "new_path": null, "diff": "-# Copyright 2016 Novo Nordisk Foundation Center for Biosustainability, DTU.\n-#\n-# Licensed under the Apache License, Version 2.0 (the \"License\");\n-# you may not use this file except ...
Python
Apache License 2.0
biosustain/cameo
chore: remove bokeh and ggplot from general plotting
89,738
02.11.2020 21:59:02
-3,600
37509402ec160a2b4a48c7ad33414cd8e5f962ed
refactor: remove automagic plot imports
[ { "change_type": "MODIFY", "old_path": "cameo/core/strain_design.py", "new_path": "cameo/core/strain_design.py", "diff": "@@ -23,7 +23,6 @@ from pandas import DataFrame\nfrom cameo.core.result import Result\nfrom cameo.core.target import EnsembleTarget, Target\n-from cameo.visualization.plotting imp...
Python
Apache License 2.0
biosustain/cameo
refactor: remove automagic plot imports
89,738
02.11.2020 22:00:02
-3,600
c1fca15506da700a0e7d902267fc3409b9fd6b45
chore: upgrade plotly dependency
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -45,7 +45,7 @@ requirements = ['numpy>=1.9.1',\nextra_requirements = {\n'docs': ['Sphinx>=1.3.5', 'numpydoc>=0.5'],\n- 'plotly': ['plotly>=3.0.0'],\n+ 'plotly': ['plotly>=4.12.0'],\n'bokeh': ['bokeh<=0.12.1'],\n'j...
Python
Apache License 2.0
biosustain/cameo
chore: upgrade plotly dependency
89,738
02.11.2020 22:01:00
-3,600
30c215f3f19daa22755a587faca95f548d3e2aba
test: check that production envelop is not broken
[ { "change_type": "ADD", "old_path": null, "new_path": "tests/test_visualization.py", "diff": "+# Copyright 2019 Novo Nordisk Foundation Center for Biosustainability, DTU.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with...
Python
Apache License 2.0
biosustain/cameo
test: check that production envelop is not broken
89,738
05.11.2020 16:23:30
-3,600
26355fe2e849065fae8267fb629107095bd3ae20
test: add plotly before build on CI
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -47,7 +47,7 @@ after_success:\nbefore_deploy:\n- if [[ $TRAVIS_PYTHON_VERSION == \"3.6\" ]]; then\n- pip install .[docs,jupyter];\n+ pip install .[docs,jupyter,plotly];\ncd docs && make apidoc && make html &...
Python
Apache License 2.0
biosustain/cameo
test: add plotly before build on CI
89,738
05.11.2020 18:41:27
-3,600
37c25259b01ecc7fb97e72d7f66363940d39e718
test: instal plotly on tox
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -47,7 +47,7 @@ after_success:\nbefore_deploy:\n- if [[ $TRAVIS_PYTHON_VERSION == \"3.6\" ]]; then\n- pip install .[docs,jupyter,plotly];\n+ pip install .[docs,jupyter];\ncd docs && make apidoc && make html &...
Python
Apache License 2.0
biosustain/cameo
test: instal plotly on tox
89,738
06.11.2020 10:51:35
-3,600
dace3897944752eb2efe6726c0fb2d9b9a00c86e
fix: use S instead of deprecated singleton
[ { "change_type": "MODIFY", "old_path": "cameo/flux_analysis/simulation.py", "new_path": "cameo/flux_analysis/simulation.py", "diff": "@@ -48,8 +48,8 @@ logger = logging.getLogger(__name__)\nadd = Add._from_args\nmul = Mul._from_args\n-NegativeOne = sympy.singleton.S.NegativeOne\n-One = sympy.singlet...
Python
Apache License 2.0
biosustain/cameo
fix: use S instead of deprecated singleton
89,740
09.11.2020 13:10:17
-3,600
e2fdbf86c56798a02b9df1323fc25ad3d38b0892
Update analysis.py * Update analysis.py Incorrect return type documented which is confusing for usage. * Fix flaxe8 line length
[ { "change_type": "MODIFY", "old_path": "cameo/flux_analysis/analysis.py", "new_path": "cameo/flux_analysis/analysis.py", "diff": "@@ -201,8 +201,9 @@ def flux_variability_analysis(model, reactions=None, fraction_of_optimum=0., pfb\nReturns\n-------\n- pandas.DataFrame\n- Pandas DataFrame containing ...
Python
Apache License 2.0
biosustain/cameo
Update analysis.py (#259) * Update analysis.py Incorrect return type documented which is confusing for usage. * Fix flaxe8 line length Co-authored-by: Jorge Carrasco <carrascomurielj@gmail.com>
89,738
04.06.2021 10:05:24
-7,200
482e5bed6a36c90b8a47082b0b9ef808f4f4db77
fix: reconcile blocked with excluded reactions in OptKnock
[ { "change_type": "MODIFY", "old_path": "cameo/strain_design/deterministic/linear_programming.py", "new_path": "cameo/strain_design/deterministic/linear_programming.py", "diff": "@@ -120,13 +120,16 @@ class OptKnock(StrainDesignMethod):\nif fraction_of_optimum is not None:\nfix_objective_as_constrain...
Python
Apache License 2.0
biosustain/cameo
fix: reconcile blocked with excluded reactions in OptKnock
89,741
12.10.2021 14:16:35
-7,200
50b27dae08eb65c26697260bb35df17a84ed8dca
Skip problematic pickling problems in test_run_single_objective
[ { "change_type": "MODIFY", "old_path": "tests/test_strain_design_heuristics.py", "new_path": "tests/test_strain_design_heuristics.py", "diff": "@@ -954,13 +954,15 @@ class TestReactionKnockoutOptimization:\nassert len(results.data_frame.targets) > 0\nassert len(results.data_frame.targets) == len(res...
Python
Apache License 2.0
biosustain/cameo
Skip problematic pickling problems in test_run_single_objective
89,741
12.10.2021 15:29:31
-7,200
85616899d16bfc760e06810178acb03c4d76119f
Skip more pickle problems
[ { "change_type": "MODIFY", "old_path": "tests/test_strain_design_heuristics.py", "new_path": "tests/test_strain_design_heuristics.py", "diff": "@@ -1001,13 +1001,13 @@ class TestReactionKnockoutOptimization:\nassert len(results.data_frame.targets) == len(results.data_frame.targets.apply(tuple).uniqu...
Python
Apache License 2.0
biosustain/cameo
Skip more pickle problems
89,741
12.10.2021 16:24:27
-7,200
094c7d659d64f08242e97e71440e023c32d0bca8
chore: use official pypi GH action and pypi API token
[ { "change_type": "MODIFY", "old_path": ".github/workflows/main.yml", "new_path": ".github/workflows/main.yml", "diff": "@@ -61,28 +61,12 @@ jobs:\npython-version: [3.8]\nsteps:\n- - uses: actions/checkout@v2\n- - name: Set up Python ${{ matrix.python-version }}\n- uses: actions/setup-python@v2\n+ - ...
Python
Apache License 2.0
biosustain/cameo
chore: use official pypi GH action and pypi API token
89,741
12.10.2021 16:58:47
-7,200
3cd7fd0be5236e3d6bfd32e7101cbaa1509c41a9
chore: don't forget to build package before deploying it
[ { "change_type": "MODIFY", "old_path": ".github/workflows/main.yml", "new_path": ".github/workflows/main.yml", "diff": "@@ -61,6 +61,22 @@ jobs:\npython-version: [3.8]\nsteps:\n+ - uses: actions/checkout@v2\n+ - name: Set up Python ${{ matrix.python-version }}\n+ uses: actions/setup-python@v2\n+ wit...
Python
Apache License 2.0
biosustain/cameo
chore: don't forget to build package before deploying it
748,240
09.04.2017 08:22:09
14,400
c5bb6bf450a06ad13982d85989af803d1398abdc
Fixed some issues with entity id and blacklist filters
[ { "change_type": "MODIFY", "old_path": "server-events/server-events.html", "new_path": "server-events/server-events.html", "diff": "<script type=\"text/javascript\">\n// TODO: Add an option to only output changes in state (ie, state on, state on === no msg emitted)\n// TODO: Add a node that passes s...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Fixed some issues with entity id and blacklist filters
748,240
09.04.2017 08:23:04
14,400
0fb53f54b88ec00baf272c973e47d83a6b4d49d2
Bumped node-home-assistant version
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "},\n\"dependencies\": {\n\"debug\": \"^2.6.3\",\n- \"node-home-assistant\": \"^0.0.2\"\n+ \"node-home-assistant\": \"0.0.3\"\n}\n}\n" }, { "change_type": "MODIFY", "old_path": "yarn.lock", "ne...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Bumped node-home-assistant version
748,240
12.04.2017 20:33:38
14,400
5e5c4337aee604285e4a51868c1eb96c98a19360
Added 'current state' node
[ { "change_type": "RENAME", "old_path": "server/server.html", "new_path": "config-server/config-server.html", "diff": "" }, { "change_type": "RENAME", "old_path": "server/server.js", "new_path": "config-server/config-server.js", "diff": "@@ -25,6 +25,8 @@ module.exports = function...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Added 'current state' node
748,240
12.04.2017 21:44:35
14,400
364c5c23af993993cd621ed049577b87da8f1c94
Allow for halting a flow with current-state node
[ { "change_type": "MODIFY", "old_path": "node-current-state/node-current-state.html", "new_path": "node-current-state/node-current-state.html", "diff": "<div class=\"form-row\">\n<label for=\"node-input-entityid\"><i class=\"fa fa-dot-circle-o\"></i> Entity ID</label>\n- <input type=\"text\" id=\"nod...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Allow for halting a flow with current-state node
748,240
14.04.2017 07:54:51
14,400
5025ae2b31956ac72f814270a86b483cf6897dc3
Moar features
[ { "change_type": "MODIFY", "old_path": "node-current-state/node-current-state.html", "new_path": "node-current-state/node-current-state.html", "diff": "<label for=\"node-input-name\"><i class=\"fa fa-tag\"></i> Name</label>\n<input type=\"text\" id=\"node-input-name\" placeholder=\"Name\">\n</div>\n...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Moar features
748,240
15.04.2017 00:07:47
14,400
c088279e8e9dd92b592896068d0ddd9f680acc50
Added some placeholder icons, adjusted palette naming for better fit visually
[ { "change_type": "MODIFY", "old_path": "config-server/config-server.html", "new_path": "config-server/config-server.html", "diff": "+<script type=\"text/javascript\">\n+ RED.nodes.registerType('server', {\n+ category: 'config',\n+ defaults: {\n+ name: { value: '', required: false },\n+ // TODO: Set ...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Added some placeholder icons, adjusted palette naming for better fit visually
748,240
16.04.2017 19:42:06
14,400
99648a8ae932a648df220b584218aea3ff4e93f0
Service Call node now has autocomplete for domains and services
[ { "change_type": "MODIFY", "old_path": "node-service-call/node-service-call.html", "new_path": "node-service-call/node-service-call.html", "diff": "<script type=\"text/javascript\">\n// TODO: Look for autocomplete modules to allow a select drop down (with autocomplete)\n// the options would be popul...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Service Call node now has autocomplete for domains and services
748,240
16.04.2017 22:14:38
14,400
9283f0eea2b128d739b1a36d250efdfce16bcdd7
Readme and package.json updates
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "# Node Red Contrib Home Assistant\n-Various nodes to assist in setting up automation using node-red communicating with Home Assistant.\n+Various nodes to assist in setting up automation using [node-red](https://nod...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Readme and package.json updates
748,240
23.04.2017 08:25:14
14,400
8b374a95e3d8f8407d368f976428821306245d7a
Fixed bug with service call payload.data not being object merged correctly
[ { "change_type": "MODIFY", "old_path": "node-server-events/node-server-events.js", "new_path": "node-server-events/node-server-events.js", "diff": "@@ -27,6 +27,8 @@ module.exports = function(RED) {\nif (node.server.connected) { incomingEvents.setStatus(true, node); }\nconst eventsClient = node.serv...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Fixed bug with service call payload.data not being object merged correctly
748,240
23.04.2017 10:03:12
14,400
7d20c71033cdd9ae754144349faeb06068ee0ddd
Cleanup event listeners, setMaxListeners to prevent warnings
[ { "change_type": "ADD", "old_path": null, "new_path": ".vscode/settings.json", "diff": "+{\n+ \"cSpell.enabled\": false\n+}\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "config-server/config-server.js", "new_path": "config-server/config-server.js", "...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Cleanup event listeners, setMaxListeners to prevent warnings
748,240
24.04.2017 21:49:04
14,400
392487bd2f4415126a774252d7f6f3dc8cfeeaec
Fixed issue where node reference was being dropped and only last node shared between all handlers
[ { "change_type": "MODIFY", "old_path": "config-server/config-server.js", "new_path": "config-server/config-server.js", "diff": "@@ -19,7 +19,6 @@ module.exports = function(RED) {\nconst ha = node.homeAssistant = new HomeAssistant({ baseUrl: node.url, apiPass: node.pass });\nnode.api = ha.api;\nnode....
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Fixed issue where node reference was being dropped and only last node shared between all handlers
748,240
24.04.2017 21:54:50
14,400
49b78fca0c6a0a10f3feac36245d415f32ed647f
Added dev version of node-home-assistant
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"dependencies\": {\n\"debug\": \"^2.6.3\",\n\"is-string\": \"^1.0.4\",\n- \"node-home-assistant\": \"0.0.3\"\n+ \"node-home-assistant\": \"AYapejian/node-home-assistant#dev-master\"\n},\n\"devDependencies\":...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Added dev version of node-home-assistant
748,240
24.04.2017 22:04:20
14,400
ac29e9f6a75a3c6c517bb5912caeb9c676e1c365
Dev version of node-home-assistant (one more time)
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"dependencies\": {\n\"debug\": \"^2.6.3\",\n\"is-string\": \"^1.0.4\",\n- \"node-home-assistant\": \"AYapejian/node-home-assistant#dev-master\"\n+ \"node-home-assistant\": \"https://github.com/AYapejian/node...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Dev version of node-home-assistant (one more time)
748,240
19.07.2017 17:53:32
14,400
ecf6f26994927ed4f6a9b9868f5f68bb2d5fd31a
Fixed issue with autocomplete on service node where values were not populating
[ { "change_type": "MODIFY", "old_path": "node-service-call/node-service-call.html", "new_path": "node-service-call/node-service-call.html", "diff": "const $unknownServiceDiv = $('.unknown-service', $serviceDataDiv);\nconst $knownServiceDiv = $('.known-service', $serviceDataDiv);\n+ const node = this;...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Fixed issue with autocomplete on service node where values were not populating
748,240
20.07.2017 17:52:05
14,400
86c436a375489a093df6be2f15d29d4b0e0cc973
Bug with typo on require
[ { "change_type": "MODIFY", "old_path": "node-current-state/node-current-state.html", "new_path": "node-current-state/node-current-state.html", "diff": "}\n},\noneditprepare: function () {\n+ // * **************************************************\n+ // TODO: Put this autocomplete funtionality in all...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Bug with typo on require
748,240
21.07.2017 14:53:49
14,400
2e35fb1ceb7a677d676d2610c66a8cae06a875f0
Use abstracted methods to fetch states,events,and permissions in config node
[ { "change_type": "MODIFY", "old_path": "config-server/config-server.js", "new_path": "config-server/config-server.js", "diff": "@@ -15,7 +15,6 @@ module.exports = function(RED) {\nnode.url = config.url;\nnode.pass = config.pass;\n- debugger;\nif (node.url && !node.homeAssistant) {\nconst ha = node.h...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Use abstracted methods to fetch states,events,and permissions in config node
748,240
21.07.2017 23:56:50
14,400
8774c00225f4238cfee1822b709c04f8c15d9104
Fixed issue where connection status was not being set correctly on partial deploy of nodes
[ { "change_type": "MODIFY", "old_path": "node-server-events/node-server-events.html", "new_path": "node-server-events/node-server-events.html", "diff": "color: '#038FC7',\ndefaults: {\nname: { value: '' },\n- server: { value: '', type: 'server' }\n+ server: { value: '', type: 'server', required: true...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Fixed issue where connection status was not being set correctly on partial deploy of nodes
748,240
22.07.2017 00:45:25
14,400
2d177aa71afd1c812a404861f0ba0cf6ad9eef42
state changed node now has autocomplete helpers for filters
[ { "change_type": "MODIFY", "old_path": "node-server-state-changed/node-server-state-changed.html", "new_path": "node-server-state-changed/node-server-state-changed.html", "diff": "name: { value: '' },\nserver: { value: '', type: 'server', required: true },\nentityidfilter: { value: '' },\n- entityid...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
state changed node now has autocomplete helpers for filters
748,240
22.07.2017 01:05:19
14,400
3ff1eff95a538dcb554164761e87a224656258da
Fixed issue with autocomplete
[ { "change_type": "MODIFY", "old_path": "node-server-state-changed/node-server-state-changed.html", "new_path": "node-server-state-changed/node-server-state-changed.html", "diff": "$entityIdField.val(this.entityidfilter);\n$entityIdBlacklistField.val(this.entityidblacklist);\n- const setupAutocomplet...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Fixed issue with autocomplete
748,240
22.07.2017 01:31:21
14,400
193b8adce953e66248b756bb016a652cac3f5614
Removed the blacklist option for server state change node
[ { "change_type": "MODIFY", "old_path": "node-server-state-changed/node-server-state-changed.html", "new_path": "node-server-state-changed/node-server-state-changed.html", "diff": "name: { value: '' },\nserver: { value: '', type: 'server', required: true },\nentityidfilter: { value: '' },\n- entityid...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Removed the blacklist option for server state change node
748,240
12.08.2017 00:48:16
14,400
f45437c8c130c26a0c4ccc00afa580259cd6e631
Fixed some bugs, added some logging
[ { "change_type": "MODIFY", "old_path": ".eslintrc", "new_path": ".eslintrc", "diff": "\"mocha\": true,\n\"es6\": true\n},\n- \"parserOptions\": {\n- \"ecmaVersion\": 2017,\n- \"ecmaFeatures\": {\n- \"arrowFunctions\": true,\n- \"binaryLiterals\": true,\n- \"blockBindings\": true,\n- \"classes\": tru...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Fixed some bugs, added some logging
748,240
22.08.2017 13:36:07
14,400
17ce72cf2949472a15fdb2a27bc8f69348f7a37c
New node-home-assistant version
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"date-fns\": \"^1.28.5\",\n\"debug\": \"^2.6.3\",\n\"is-string\": \"^1.0.4\",\n- \"node-home-assistant\": \"https://github.com/AYapejian/node-home-assistant.git#dev-master\"\n+ \"node-home-assistant\": \"0.1...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
New node-home-assistant version
748,245
23.01.2018 09:55:44
28,800
7d6b1bf4de7a9d16fdaa746f692b3354e9b09220
Make sure old_state is not null Related to
[ { "change_type": "MODIFY", "old_path": "node-server-state-changed/node-server-state-changed.js", "new_path": "node-server-state-changed/node-server-state-changed.js", "diff": "@@ -43,7 +43,11 @@ const _int = {\n};\nif (shouldIncludeEvent) {\n+ if (event.old_state) {\nnode.debug(`Incoming state event...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Make sure old_state is not null Related to #5
748,240
28.01.2018 15:50:39
18,000
7107e9fd72a28044961395359acf98c6e4e354e0
Added examples of the current state node to the dev environment in docker node-red
[ { "change_type": "MODIFY", "old_path": "docker/config.env", "new_path": "docker/config.env", "diff": "@@ -14,10 +14,10 @@ MQTT_HOST=mqtt\nMQTT_PORT=1883\nMQTT_LISTENER_TOPIC=dev/#\n-MQTT_DEV_BINARY_SENSOR_INTERVAL=30\n+MQTT_DEV_BINARY_SENSOR_INTERVAL=60\nMQTT_DEV_BINARY_SENSOR_TOPIC=dev/mqtt-dev-bin...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Added examples of the current state node to the dev environment in docker node-red
748,240
28.01.2018 16:26:52
18,000
0a2ce07d62a183bea7a60a573b64d74be8de247c
Improve error handling for api call by logging url, status and message in the node-red ui as well as console on server
[ { "change_type": "MODIFY", "old_path": "node-api_get-history/node-api_get-history.js", "new_path": "node-api_get-history/node-api_get-history.js", "diff": "@@ -21,7 +21,15 @@ const _int = {\nmsg.payload = res;\nnode.send(msg);\n})\n- .catch(err => node.error('Error calling service, home assistant ap...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Improve error handling for api call by logging url, status and message in the node-red ui as well as console on server
748,240
29.01.2018 01:11:47
18,000
9d4063b9a34a96ea5368998388547160d727840a
Added tip for getting html syntax highlighting to work in VSCode for scripts
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -59,11 +59,6 @@ b. _Note: Also first run load of HomeAssistant web interface seems very slow, bu\n| mqtt-dev-binary-sensor | | publishes every 30 seconds to a topic home assistant has a `binary_sensor` for |\n-\...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Added tip for getting html syntax highlighting to work in VSCode for scripts
748,240
30.01.2018 16:25:49
18,000
b058b5b6ae62a7a164cf8f8d771da9ce56173386
Docker-compose do not map root-fs volumes
[ { "change_type": "MODIFY", "old_path": "docker/docker-compose.yml", "new_path": "docker/docker-compose.yml", "diff": "@@ -43,7 +43,7 @@ services:\ncommand: npm run dev:watch\nvolumes:\n- '..:/data-dev/node_modules/node-red-contrib-home-assistant'\n- - './node-red/root-fs/data-dev/flows.json:/data-de...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Docker-compose do not map root-fs volumes
748,240
30.01.2018 16:27:50
18,000
783b6994662894695ca3299d2a9804c9ee82bfb8
adding settings.js for node-red, was gitignored
[ { "change_type": "ADD", "old_path": null, "new_path": "docker/node-red/root-fs/data-dev/settings.js", "diff": "+module.exports = {\n+ uiPort: process.env.PORT || 1880,\n+ mqttReconnectTime: 15000,\n+ serialReconnectTime: 15000,\n+ debugMaxLength: 1000,\n+ debugUseColors: true,\n+ flowFilePretty: tru...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
adding settings.js for node-red, was gitignored
748,240
30.01.2018 22:08:31
18,000
ff2b2becd0134721d8db2b2baab420d27d3a911d
refactor node-red docker, using custom node docker image to upgrade to node 8LTS (min requirement now)
[ { "change_type": "MODIFY", "old_path": "_docker/docker-compose.yml", "new_path": "_docker/docker-compose.yml", "diff": "@@ -42,7 +42,7 @@ services:\ncontext: ./node-red\ncommand: npm run dev:watch\nvolumes:\n- - '..:/data-dev/node_modules/node-red-contrib-home-assistant'\n+ - '..:/data/node_modules/...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
refactor node-red docker, using custom node docker image to upgrade to node 8LTS (min requirement now)
748,240
31.01.2018 14:35:29
18,000
02391f80b5bae7eacb4a5ef76fd6a3492a949e42
Added BaseNode class, current state node converted to use that class
[ { "change_type": "MODIFY", "old_path": ".vscode/launch.json", "new_path": ".vscode/launch.json", "diff": "\"address\": \"localhost\",\n\"port\": 9123,\n\"localRoot\": \"${workspaceFolder}\",\n- \"remoteRoot\": \"/data-dev/node_modules/node-red-contrib-home-assistant\",\n+ \"remoteRoot\": \"/data/nod...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Added BaseNode class, current state node converted to use that class
748,240
01.02.2018 13:05:29
18,000
cdaa9c00c2d54db1e0d0f527112d82694794268b
Centralized event based logic into base EventNode class
[ { "change_type": "ADD", "old_path": null, "new_path": "lib/events-node.js", "diff": "+const merge = require('lodash.merge');\n+const BaseNode = require('./base-node');\n+\n+const DEFAULT_NODE_OPTIONS = {\n+ debug: false,\n+ config: {\n+ name: {},\n+ server: { isNode: true }\n+ }\n+};\n+\n+class Even...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Centralized event based logic into base EventNode class
748,240
01.02.2018 19:56:56
18,000
2a5d5df315bbce6f75e5c0db1ee44a24912cb5e4
fixed connection/re-connection issue and states cache problem after restart
[ { "change_type": "MODIFY", "old_path": "nodes/config-server/config-server.js", "new_path": "nodes/config-server/config-server.js", "diff": "@@ -39,21 +39,6 @@ module.exports = function(RED) {\nconstructor(nodeDefinition) {\nsuper(nodeDefinition, RED, nodeOptions);\n- if (this.nodeConfig.url && !this...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
fixed connection/re-connection issue and states cache problem after restart
748,240
04.02.2018 00:52:32
18,000
906619010b2d9a85c7d61972b6d4a3baebb5aeb7
workaround for nodemon --inspect crashing intermitently during restarts due to debugger port being in use
[ { "change_type": "MODIFY", "old_path": "_docker/node-red/root-fs/app/nodemon.json", "new_path": "_docker/node-red/root-fs/app/nodemon.json", "diff": "{\n\"colours\": true,\n- \"delay\": 1,\n+ \"delay\": \"750\",\n\"verbose\": false,\n\"watch\": [\n\"/data/node_modules/node-red-contrib-home-assistant...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
workaround for nodemon --inspect crashing intermitently during restarts due to debugger port being in use
748,240
04.02.2018 01:47:58
18,000
ed4344f89eb62b5d5345d39dd36421f6ef4734ef
server-state-change node now allows filtering by substring array(old behavior and default), exact match or regex types
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -5,3 +5,4 @@ _scratchpad\nsettings.js\n_scratchpad_flows\n.DS_Store\n+_docker-volumes/\n" }, { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -57,6 +...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
#26 - server-state-change node now allows filtering by substring array(old behavior and default), exact match or regex types
748,240
05.02.2018 14:04:12
18,000
57b4bae7020d8ad26b57f0717fda5ed31b834002
new 'trigger' node to reduce repetitive node sequences
[ { "change_type": "MODIFY", "old_path": "_docker/config.env", "new_path": "_docker/config.env", "diff": "+NODE_ENV=development\n+DEBUG=home-assistant*\n+\nHA_HOME_ASSISTANT_TIME_ZONE=America/New_York\nHA_HOME_ASSISTANT_LATITUDE=42.360082\nHA_HOME_ASSISTANT_LONGITUDE=-71.058880\n" }, { "change...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
#30 - new 'trigger' node to reduce repetitive node sequences
748,240
06.02.2018 01:09:17
18,000
c85f4d903a28e9e4d2c7136937c34dd6ccd51940
WIP: Trigger State node
[ { "change_type": "MODIFY", "old_path": ".vscode/launch.json", "new_path": ".vscode/launch.json", "diff": "\"version\": \"0.2.0\",\n\"configurations\": [\n{\n- \"name\": \"Attach: Docker\",\n+ \"name\": \"Attach Docker: node-red\",\n\"type\": \"node\",\n\"request\": \"attach\",\n\"timeout\": 20000,\n...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
WIP: Trigger State node
748,240
06.02.2018 14:28:41
18,000
e276e37a42247a99ff8ec173c0180bfb1ddedfe4
trigger-state: fix for removing custom output causing node-red wires to be mis-mapped
[ { "change_type": "MODIFY", "old_path": "nodes/trigger-state/trigger-state.html", "new_path": "nodes/trigger-state/trigger-state.html", "diff": "<div>\n<div class=\"form-row\">\n<label for=\"output-timer-type\" style=\"width: 60px\"> Send</label>\n+ <input type=\"hidden\" id=\"node-input-outputs\"/> ...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
trigger-state: fix for removing custom output causing node-red wires to be mis-mapped
748,240
07.02.2018 03:14:49
18,000
7615c2f211214260be8f70bfca4084eaf78f2389
trigger-state: wip: custom outputs, client logging, typedinput, etc..
[ { "change_type": "MODIFY", "old_path": "lib/base-node.js", "new_path": "lib/base-node.js", "diff": "@@ -2,6 +2,7 @@ const Joi = require('joi');\nconst merge = require('lodash.merge');\nconst selectn = require('selectn');\nconst dateFns = require('date-fns');\n+const util = require('util');\nconst ut...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
trigger-state: wip: custom outputs, client logging, typedinput, etc..
748,240
07.02.2018 05:47:52
18,000
48f0115bc297882616b8197b083b2ed0b8ddeb74
removed status flashing, added timers cancel, enable/disable to trigger-state node
[ { "change_type": "MODIFY", "old_path": "lib/base-node.js", "new_path": "lib/base-node.js", "diff": "@@ -61,43 +61,6 @@ class BaseNode {\nsend() { this.node.send(...arguments) }\n- flashFlowHaltedStatus() {\n- this.debugToClient('Flow halted');\n- this.flashStatus({\n- statusFlash: { fill: 'yellow', ...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
removed status flashing, added timers cancel, enable/disable to trigger-state node
748,240
07.02.2018 06:46:07
18,000
a2ab630c5d14b1c3aa3e47608a723dce13b16e8b
Status fixes and extending timer if output constraint matches even if main constraints fail
[ { "change_type": "MODIFY", "old_path": "lib/base-node.js", "new_path": "lib/base-node.js", "diff": "@@ -53,6 +53,7 @@ class BaseNode {\nconst name = this.reach('nodeConfig.name');\nthis.debug(`instantiated node, name: ${name || 'undefined'}`);\n+ this.updateConnectionStatus();\n}\n// Subclasses shou...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Status fixes and extending timer if output constraint matches even if main constraints fail
748,240
07.02.2018 08:42:26
18,000
bac244c4485ebcf642c41f26bab01d4544ae3563
added db store to persist certain states across restart
[ { "change_type": "MODIFY", "old_path": "lib/base-node.js", "new_path": "lib/base-node.js", "diff": "@@ -2,7 +2,9 @@ const Joi = require('joi');\nconst merge = require('lodash.merge');\nconst selectn = require('selectn');\nconst dateFns = require('date-fns');\n-const util = require('util');\n+\n+cons...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
added db store to persist certain states across restart
748,240
07.02.2018 10:23:42
18,000
6c236b2ee4a4bb0347969062955d79caf5acf8f5
trigger-state node: added scheduled message indicator
[ { "change_type": "MODIFY", "old_path": "lib/base-node.js", "new_path": "lib/base-node.js", "diff": "@@ -108,11 +108,11 @@ class BaseNode {\nthis.node.status(opts);\n}\n- updateConnectionStatus() {\n- this.setConnectionStatus(this.isConnected);\n+ updateConnectionStatus(additionalText) {\n+ this.setC...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
trigger-state node: added scheduled message indicator
748,240
07.02.2018 10:46:22
18,000
2b7b752714c12163a52c3bddd71cd06d5fa60119
New nodes added will now automatically default to the first found home assistant configuration for the 'server' node value if not set
[ { "change_type": "MODIFY", "old_path": "nodes/api_call-service/api_call-service.html", "new_path": "nodes/api_call-service/api_call-service.html", "diff": "} }\n},\noneditprepare: function () {\n+ const NODE = this;\n+ const $server = $('#node-input-server');\n+\nconst $domainField = $('#service_dom...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
New nodes added will now automatically default to the first found home assistant configuration for the 'server' node value if not set
748,240
07.02.2018 11:41:07
18,000
66cd103f2c0203b9fc429574d173f8243d9f86f1
api-call-service node: should now properly merge incoming payload.data values with the config value
[ { "change_type": "MODIFY", "old_path": "nodes/api_call-service/api_call-service.html", "new_path": "nodes/api_call-service/api_call-service.html", "diff": "<script type=\"text/javascript\">\n- // TODO: Look for autocomplete modules to allow a select drop down (with autocomplete)\n- // the options wo...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
api-call-service node: should now properly merge incoming payload.data values with the config value
748,240
07.02.2018 11:51:14
18,000
9e9e085c931eb2eb7909b9aa8babcbb1893945ed
trigger-state: custom output messages are now sent as objects if able to be parsed, previously was always strings
[ { "change_type": "MODIFY", "old_path": "nodes/api_call-service/api_call-service.js", "new_path": "nodes/api_call-service/api_call-service.js", "diff": "-const Joi = require('joi');\nconst BaseNode = require('../../lib/base-node');\nmodule.exports = function(RED) {\n@@ -35,7 +34,6 @@ module.exports =...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
trigger-state: custom output messages are now sent as objects if able to be parsed, previously was always strings
748,240
09.02.2018 01:25:45
18,000
59a586be0d296a1388aa4497991543ad88bf943b
wip: timed task serialization and restore
[ { "change_type": "MODIFY", "old_path": ".eslintrc.js", "new_path": ".eslintrc.js", "diff": "@@ -3,7 +3,7 @@ module.exports = {\nextends: 'standard',\nplugins: ['html'],\nparserOptions: { sourceType: 'module' },\n- env: { browser: true, node: true },\n+ env: { browser: true, node: true, mocha: true }...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
wip: timed task serialization and restore
748,240
09.02.2018 01:27:45
18,000
38ad159e230806dd18d490d837c1d4a03a5aa912
pull dev-master node-home-assistant while testing
[ { "change_type": "MODIFY", "old_path": "package-lock.json", "new_path": "package-lock.json", "diff": "}\n},\n\"node-home-assistant\": {\n- \"version\": \"0.2.0\",\n- \"resolved\": \"https://registry.npmjs.org/node-home-assistant/-/node-home-assistant-0.2.0.tgz\",\n- \"integrity\": \"sha512-iaTVuWvmW...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
pull dev-master node-home-assistant while testing
748,240
10.02.2018 11:47:53
18,000
af90292274cb00adf236c481e561e0a61638012a
more service node fixes
[ { "change_type": "MODIFY", "old_path": "nodes/api_call-service/api_call-service.html", "new_path": "nodes/api_call-service/api_call-service.html", "diff": "service_domain: { value: '' },\nservice: { value: '' },\ndata: { value: '', validate: function(v) {\n+ // data isn't required since it could be ...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
more service node fixes
748,240
10.02.2018 15:49:26
18,000
05b894430a69ec2ff68dc28226d5005a67e22166
api-call-service node: ability to merge context into 'data' property, added output for node with data used to call service, added documentation
[ { "change_type": "MODIFY", "old_path": "nodes/api_call-service/api_call-service.html", "new_path": "nodes/api_call-service/api_call-service.html", "diff": "category: 'home_assistant',\ncolor: '#52C0F2',\ninputs: 1,\n- outputs: 0,\n+ outputs: 1,\nicon: 'router-wireless.png',\nalign: 'right',\npalette...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
api-call-service node: ability to merge context into 'data' property, added output for node with data used to call service, added documentation
748,240
10.02.2018 22:12:23
18,000
904e4446fa63c60d5cc33056d9983c2ccd6799a0
server node: the server config node now publishes state, services and events on the global context, available to function nodes
[ { "change_type": "MODIFY", "old_path": "lib/base-node.js", "new_path": "lib/base-node.js", "diff": "@@ -11,7 +11,13 @@ const utils = {\nmerge,\nJoi,\nreach: (path, obj) => selectn(path, obj),\n- formatDate: (date) => dateFns.format(date, 'ddd, h:mm:ss A')\n+ formatDate: (date) => dateFns.format(date...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
server node: the server config node now publishes state, services and events on the global context, available to function nodes
748,240
10.02.2018 22:32:41
18,000
153175f93beebf3e2bc75759dbc5180fcbfa289f
removed warn logging not needed
[ { "change_type": "MODIFY", "old_path": "nodes/api_call-service/api_call-service.js", "new_path": "nodes/api_call-service/api_call-service.js", "diff": "@@ -85,7 +85,6 @@ module.exports = function(RED) {\n}\napiData = this.utils.merge({}, configData, contextData, payloadData);\n- this.warn(apiData);\...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
removed warn logging not needed
748,240
11.02.2018 00:31:48
18,000
9e715a15f9a1c9309420167696b2ec67e43adfc5
new node: time since state changed
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -6,3 +6,4 @@ settings.js\n_scratchpad_flows\n.DS_Store\n_docker-volumes/\n+./package-lock.json\n" }, { "change_type": "ADD", "old_path": "nodes/time-since-state/icons/timer.png", "new_path": "n...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
new node: time since state changed
748,240
11.02.2018 02:02:15
18,000
24832964d33345ea65654a697d92f6f44243c0e5
fix for timers not clearing correctly
[ { "change_type": "MODIFY", "old_path": "nodes/time-since-state/time-since-state.js", "new_path": "nodes/time-since-state/time-since-state.js", "diff": "@@ -39,8 +39,9 @@ module.exports = function(RED) {\nonClose(removed) {\nsuper.onClose();\n- if (removed) {\n+ if (this.timer) {\nclearInterval(this....
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
fix for timers not clearing correctly
748,240
11.02.2018 21:45:57
18,000
f471a999940a11acaf14ec165ac842ab3f1b0cd8
last changed node renamed to poll state to cover more use cases
[ { "change_type": "RENAME", "old_path": "nodes/time-since-state/icons/timer.png", "new_path": "nodes/poll-state/icons/timer.png", "diff": "" }, { "change_type": "RENAME", "old_path": "nodes/time-since-state/time-since-state.html", "new_path": "nodes/poll-state/poll-state.html", "d...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
last changed node renamed to poll state to cover more use cases
748,240
14.02.2018 22:42:14
18,000
9ebc4110221a9747edb4d037d85c4df3022f6105
non event nodes: fix for displaying connection status even though not event nodes
[ { "change_type": "MODIFY", "old_path": ".vscode/launch.json", "new_path": ".vscode/launch.json", "diff": "\"address\": \"localhost\",\n\"port\": 9123,\n\"trace\": false,\n-\n\"skipFiles\": [\n\"<node_internals>/**/*.js\"\n]\n" }, { "change_type": "MODIFY", "old_path": "_docker/home-assis...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
non event nodes: fix for displaying connection status even though not event nodes
748,240
15.02.2018 00:15:53
18,000
58329edbe1b91ecedafca460a2478f4355d22fbc
poll state: should not have input, fix trigger output condition message was undefined
[ { "change_type": "MODIFY", "old_path": "nodes/poll-state/poll-state.html", "new_path": "nodes/poll-state/poll-state.html", "diff": "RED.nodes.registerType('poll-state', {\ncategory: 'home_assistant',\ncolor: '#038FC7',\n- inputs: 1,\n+ inputs: 0,\noutputs: 1,\nicon: 'timer.png',\npaletteLabel: 'poll...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
poll state: should not have input, fix trigger output condition message was undefined
748,239
15.02.2018 10:19:46
-7,200
98f1218b8b89bc22069ddc211d0e8ee68c865d4b
Note of server URL when running inside container It isn't obvious what server node base url to use when running inside container. It's worth noting it also here.
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -15,6 +15,8 @@ $ npm install node-red-contrib-home-assistant\n# then restart node-red\n```\n+If you are running Node Red inside Hass.io addon/container you can use Hass.io API Proxy address `http://hassio/homeas...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Note of server URL when running inside container It isn't obvious what server node base url to use when running inside container. It's worth noting it also here.
748,240
15.02.2018 15:22:25
18,000
b87a7b2af961ecf5a03b38886b2e924003801d97
upped node-home-assistant version to 0.2.1
[ { "change_type": "MODIFY", "old_path": "_docker/config.env", "new_path": "_docker/config.env", "diff": "@@ -13,17 +13,4 @@ HA_MQTT_CLIENT_ID=home-assistant-dev\nHA_HTTP_API_PASSWORD=password\nHA_LOGGER_DEFAULT=info\n-MQTT_HOST=mqtt\n-MQTT_PORT=1883\n-MQTT_LISTENER_TOPIC=dev/#\n-\n-MQTT_DEV_BINARY_SE...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
upped node-home-assistant version to 0.2.1
748,240
16.02.2018 23:56:05
18,000
a16acc5acd0ac07b57a1aa0fd94ec050c4b55471
Added link to flows example
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -15,6 +15,8 @@ $ npm install node-red-contrib-home-assistant\n# then restart node-red\n```\n+For flow examples checkout the [flows here](https://raw.githubusercontent.com/AYapejian/node-red-contrib-home-assistan...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Added link to flows example
748,241
11.02.2018 20:21:47
18,000
8f4a91523fbbed4a4aed1e543bd1c41eca42c75a
Preserve original msg object when passing through "current state" node
[ { "change_type": "MODIFY", "old_path": "nodes/api_current-state/api_current-state.js", "new_path": "nodes/api_current-state/api_current-state.js", "diff": "@@ -48,7 +48,10 @@ module.exports = function(RED) {\nreturn null;\n}\n- this.node.send({ topic: entity_id, payload: currentState.state, data: cu...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Preserve original msg object when passing through "current state" node
748,241
28.02.2018 18:11:02
18,000
4bca63402bc709b9f6bf556c5f5b96f71a29c830
Adjusted for 0.3.0: using message instead of msg
[ { "change_type": "MODIFY", "old_path": "nodes/api_current-state/api_current-state.js", "new_path": "nodes/api_current-state/api_current-state.js", "diff": "@@ -48,10 +48,10 @@ module.exports = function(RED) {\nreturn null;\n}\n- msg.topic = entity_id;\n- msg.payload = currentState.state;\n- msg.data...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Adjusted for 0.3.0: using message instead of msg
748,256
10.03.2018 13:13:51
-3,600
a401f894a9dd76aa3e91e362f861e04dd4a036f1
Added try/catch in onHaEventsStateChanged
[ { "change_type": "MODIFY", "old_path": "nodes/server-events-state-changed/server-events-state-changed.js", "new_path": "nodes/server-events-state-changed/server-events-state-changed.js", "diff": "@@ -23,6 +23,7 @@ module.exports = function(RED) {\n}\nonHaEventsStateChanged (evt) {\n+ try {\nconst { ...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Added try/catch in onHaEventsStateChanged
748,262
27.03.2018 12:29:44
18,000
4c36223faf94ce4cf183428934c6cbb1a9f2e2dd
Update api_current-state.js
[ { "change_type": "MODIFY", "old_path": "nodes/api_current-state/api_current-state.js", "new_path": "nodes/api_current-state/api_current-state.js", "diff": "@@ -7,6 +7,8 @@ module.exports = function(RED) {\nconfig: {\nname: {},\nhalt_if: {},\n+ override_topic: {},\n+ override_payload: {},\nentity_id:...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Update api_current-state.js
748,247
26.04.2018 11:19:11
25,200
8e1cc9ae81dc14ed858e253f674666c081ad0476
Update README.md credit author
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "+NOTE: I did not write this, I forked from [@AYapejian](https://github.com/AYapejian/node-red-contrib-home-assistant) due to a lack of responsiveness to issues and pull requests.\n+\n# Node Red Contrib Home Assista...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Update README.md credit author
748,247
26.04.2018 16:16:42
25,200
9db8b2df0a3a02ee37a8bfb72e2ee6485b3c98da
first attempt at status message
[ { "change_type": "MODIFY", "old_path": "nodes/api_call-service/api_call-service.js", "new_path": "nodes/api_call-service/api_call-service.js", "diff": "@@ -49,7 +49,7 @@ module.exports = function(RED) {\nif (!apiService) throw new Error('call service node is missing api \"service\" property, not fou...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
first attempt at status message
748,240
27.04.2018 10:47:26
14,400
29a3df548b31e318f849b2fb057cce33f0a56448
Fixing bug with docker-compose due to directory naming, invalid reference error due to beginning
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -7,3 +7,4 @@ _scratchpad_flows\n.DS_Store\n_docker-volumes/\n./package-lock.json\n+*.log\n" }, { "change_type": "DELETE", "old_path": "_docker/config.env", "new_path": null, "diff": "-NODE_...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Fixing bug with docker-compose due to directory naming, invalid reference error due to beginning
748,247
27.04.2018 11:45:44
25,200
0c2f61523971467bb33498a532a8452acd12ff44
Continued work on status message timestamps
[ { "change_type": "MODIFY", "old_path": "nodes/api_call-service/api_call-service.js", "new_path": "nodes/api_call-service/api_call-service.js", "diff": "@@ -49,7 +49,9 @@ module.exports = function(RED) {\nif (!apiService) throw new Error('call service node is missing api \"service\" property, not fou...
TypeScript
MIT License
zachowj/node-red-contrib-home-assistant-websocket
Continued work on status message timestamps