Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REVISED: Add Node-RED and Mosquitto (MQTT) IIAB playbooks for IoT #1398

Merged
merged 52 commits into from Jan 16, 2019

Conversation

m-anish
Copy link
Contributor

@m-anish m-anish commented Jan 15, 2019

This is the updated and fixed PR for #854

@holta
Copy link
Member

holta commented Jan 15, 2019

@tim-moody asked us to change the way default_vars.yml works: #1352

So now default_vars.yml is equivalent to MIN-sized, with most all apps/services set not to install or be enabled.

Can you revise this PR's default_vars.yml as such?

@holta holta changed the title Node red mosquitto new REVISED: Add Node-RED and Mosquitto (MQTT) IIAB playbooks for IoT #854 Jan 15, 2019
@m-anish
Copy link
Contributor Author

m-anish commented Jan 15, 2019

@tim-moody asked us to change the way default_vars.ymk works: #1352

So now default_vars.yml is equivalent to MIN-sized, with most all apps/services set not to install or be enabled.

Can you revise this PR's default_vars.yml as such?

Done! Thanks for pointing it out.

@m-anish
Copy link
Contributor Author

m-anish commented Jan 15, 2019

PLEASE READ THIS BEFORE MERGING

Test on the following environments:

  • Debian
  • Raspberry pi
  • Test first with all flags nodered_install, nodered_enabled, mosquitto_install, mosquitto_enabled set to False
  • Then test by enabling them all and rerunning the install

Thanks!

@holta holta changed the title REVISED: Add Node-RED and Mosquitto (MQTT) IIAB playbooks for IoT #854 REVISED: Add Node-RED and Mosquitto (MQTT) IIAB playbooks for IoT Jan 15, 2019
@m-anish
Copy link
Contributor Author

m-anish commented Jan 16, 2019

Alert! NOTE! node-red fails on 9.6!!

  1. the install proceeds smoothly
  2. but node red install in a directory other than where the systemd service is expecting it to
  3. i will make a fix
  4. so, the testing must involve actually opening <box_ip>:1880
  5. and enter the following creds Admin:g0adm1n

@m-anish
Copy link
Contributor Author

m-anish commented Jan 16, 2019

This now works on Debian 9.6(VM), and Ubuntu 18.04(VM)

@m-anish
Copy link
Contributor Author

m-anish commented Jan 16, 2019

This works on Debian 10(VM) as well, after applying the fixes described in #1387

@holta holta merged commit 7387201 into iiab:master Jan 16, 2019
@holta
Copy link
Member

holta commented Jan 16, 2019

Successfully tested http://box:1880 (Node-RED's console) with both http://LAN-ip:1880 & http://WAN-ip:1880 on these 3 OS's:

  • Raspbian Lite on RPi 3 B+
  • Ubuntu Desktop 16.04 on NUC
  • Ubuntu Server 18.04 on NUC

PS the key was adding daemon-reload: True to Ansible's systemd calls, and making sure ./iiab-network has indeed run.

@m-anish m-anish deleted the node-red-mosquitto-new branch January 16, 2019 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants